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

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: Tue, 4 Aug 2009 23:25:57 +0100

2009/8/4 Daniel Stenberg <daniel_at_haxx.se>:
> On Tue, 4 Aug 2009, Peter Stuge wrote:
>
>> While I ponder the explanation and try to get my head around the code a
>> bit more, here is a patch that will change the hang behavior. I am not sure
>> this is a fix, but it will make something happen. :)
>
> well, I think it will prove what the cause of the hang is, if it makes the
> hang go away.

It makes the hang go away. Now the behaviour on Linux is just like it
is on Windows: I get the "Timeout waiting for status message" error.
The Windows behaviour is unchanged.

Alex

--
http://swish.sourceforge.net
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-08-05

the libssh2 team