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

Archive Index This month's Index

Subject: Re: sftp_read problems with large buffer

Re: sftp_read problems with large buffer

From: Alexander Lamaison <swish_at_lammy.co.uk>
Date: Thu, 6 Aug 2009 19:07:01 +0100

2009/8/6 Daniel Stenberg <daniel_at_haxx.se>:
> It would be very interesting to hear how this patch changes behavior, or
> not. This reverts my code that makes it treat a short read as the end of
> data to read, and goes back to always read until EAGAIN basically. I have a
> suspicion that this won't make anything different.

It looks like your patch has fixed it. On Linux at least. No
hanging. No timeout messages.

Unfortunately, I won't be able to test it on Windows till next week.


libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-08-06

the libssh2 team