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

Re: libssh2_sftp_init() blocks and does not return

From: Daniel Stenberg <>
Date: Thu, 19 Mar 2009 23:59:42 +0100 (CET)

On Wed, 18 Mar 2009, Keith Maika wrote:

> I get this same problem using the example sftp.c program that is provided
> with libssh2. I noticed it when I was first going to check the changes you
> were doing for the speed because I was curious about it, however I have no
> personal applications that use libssh2 so I just used your examples. It
> still occurs with the latest CVS updates.

Yeah, quite clearly I messed up stuff for blocking sockets and I haven't
managed to get them going properly yet. I see the same problem with the 'sftp'
example code.

In general it is painful to support both the way the code works now. I wonder
if we can think of a better way...

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.
libssh2-devel mailing list
Received on 2009-03-20