Subject: Re: libssh2_sftp_init() blocks and does not return

Re: libssh2_sftp_init() blocks and does not return

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 22 Mar 2009 23:25:23 +0100 (CET)

On Sun, 22 Mar 2009, Heiner Steven wrote:

>> What other alternatives can you think of? Did you try this against other
>> SFTP servers?
>
> I tested with the local Linux OpenSSH server (5.1) and with a Solaris 10
> server, also with OpenSSH 5.0.

Did you also try the 'example/simple/sftp_nonblock' tool to see if that shows
the same problem?

> [libssh2] 3.400569 Conn: Setting blocking mode on session 1

Ouch - that will of course explain the hang! As I read the code, that is
called by your app as I can't see anything within libssh2 that would change
this. Can you?

-- 
  / 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-devel
Received on 2009-03-22