On Fri, 20 Mar 2009, Heiner Steven wrote:
>> I've done quite a lot of tests with non-blocking and I've not seen this,
>> and I've also got reports from others who've done the libcurl-based (~30)
>> tests without experiencing this. It might indicate that the problem happens
>> only in more specific situations, like with a particular server on a
>> particular OS or something else...
>
> This could be the case, but on the other hand version 0.18 and 1.0 both run
> without problems on the same system.
What other alternatives can you think of? Did you try this against other SFTP
servers?
> I wonder what the error code "ERESTARTSYS" means, which recvfrom() returns
> on the SIGQUIT signal.
I'm personally more stunned by the fact it blocks in the first place. Why does
it do so when set non-blocking?
Anyway, can you build libssh2 debug-enabled and call libssh2_trace(~0) before
the libssh2_sftp_init() call to give us a dump of debug info to look at?
-- / daniel.haxx.se ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ libssh2-devel mailing list libssh2-devel_at_lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-develReceived on 2009-03-20