Subject: sftp problem reading large directories

sftp problem reading large directories

From: E L <crc1021_at_gmail.com>
Date: Mon, 12 Mar 2012 12:44:13 -0500

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