I recently updated to 1.4 of libssh2 and now read of large directories
causes my application (and the sftpdir.c example) to hang.
It appears to be an issue with the recent change to move the window
adjustment from channel.c to the calling function.
The sftp_read() function now calls
_libssh2_channel_receive_window_adjust(), but there is nothing in
sftp_readdir().
The source just before this commit works for me
http://git.libssh2.org/?p=libssh2.git;a=commitdiff;h=03ca9020756a4e16f0294e5b35e9826ee6af2364
Eric
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-03-12