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

RE: libssh2_sftp_init() blocks and does not return

From: Mononen Jussi <>
Date: Fri, 20 Mar 2009 10:41:11 +0200

> Would it be completely crazy if we did all the internals of
> libssh2 to deal with non-blocking only, and "only" provide
> wrapper code that deals with the blockingness this way:

No, that's actually very reasonable since you get total control of the
blocking functionality. I actually have used my own wrappers for
non-blocking functions to get the blocking functionality totally under
my own control (eg. for configurable timeouts etc.).


perl -e 'print for reverse @{[@{[@{[@{
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