Subject: Re: sftp_read problems with large buffer

Re: sftp_read problems with large buffer

From: Peter Stuge <peter_at_stuge.se>
Date: Wed, 5 Aug 2009 00:39:19 +0200

Alexander Lamaison wrote:
> It makes the hang go away.

Thanks for testing!

> 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.

It seems src/sftp.c:sftp_packet_require() (which is used everywhere
in sftp.c) can not handle non-blocking. Could that be true?

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