Hi,

libssh2_sftp_close_handle() currently returns -1 on failure.  What is
client code supposed to do to handle this?

It appears that a non-responsive ssh/sftp server will make it
impossible to close and reclaim resources for the sftp handle.  If you
call libssh2_sftp_shutdown() on the sftp session while the sftp handle
is still opened, it seems libssh2_sftp_dtor() get itself in an endless
loop trying to close the opened (but impossible to close) handles.

    --jtc

-- 
J.T. Conklin

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to