www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: libssh2_channel_close/libssh2_channel_free hangs if you execute long-running command

Re: libssh2_channel_close/libssh2_channel_free hangs if you execute long-running command

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Sat, 15 Oct 2011 02:19:12 +0200

fre 2011-10-14 klockan 16:56 -0700 skrev Pavel Strashkin:

> I'd like to hear your opinion. Should something be changed or not in
> libssh2 based on my investigation?

The delay in responding to CLOSE is on the server side.

Adding signal support to libssh2 is always an welcome addition to
libssh2 and would solve your issue with the server delaying it's
response to CLOSE until the program exits.

Regards
Henrik

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-10-15

the libssh2 team