Subject: Re: libssh2 error: Would block starting up channel

Re: libssh2 error: Would block starting up channel

From: Samuel ROZE <samuel.roze_at_gmail.com>
Date: Sun, 13 Dec 2009 20:15:28 +0100

Le dimanche 13 décembre 2009 à 19:49 +0100, Daniel Stenberg a écrit :
> Well, you could start with explaining a lot more about your code. That error
> happens because otherwise it would block, as it says. That's normally not a
> problem.

What it would block ?

My code is so simply: I have an opened SSH2 channel and, when my user
want, I have to transfer files (SCP doesn't work...) so I use SFTP while
my channel is connected and... this error appends !

Maybe I don't have to use libssh2_sftp_init but I can use my opened
channel ? That may solve that problem ?

> Also, it seems that line is quite far away from line 503 in current git which
> gives me the impression you're using/looking in a rather old libssh2 version.
> Can that be the case?

Version 1.2.1 (September 28, 2009)
(in NEWS)

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-12-13