On Wed, 16 Jan 2013 18:24:04 -0800, Nathan Myers writes: > This patch seems to improve matters, for the slow.c just posted. > I'm not sure I understand all the implications of moving the adjust > after the read, but I don't see how to know the right adjustment to > apply without reading first: I very frequently get short reads from > this function.
This patch works well for me. Without it and when doing alot of short reads from an SSH server the download rate drops sharply after about 200K. With this patch applied the speed is as it is from the beginning for the duration of the entire transfer. -- Ben Kibbey _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel