Subject: Re: is libssh2_agent_userauth blocking?

Re: is libssh2_agent_userauth blocking?

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Thu, 08 Dec 2011 21:29:48 +0100

tor 2011-12-08 klockan 17:19 +0100 skrev Ellié Computing Open Source
Program:

> In order to work correctly, libcurl requires all the API to be non
> blocking or at least to have some short bounded time, however I
> suspect that libssh2_agent_??? APIs may have no bounded time (if the
> user gets a password box).

Not sure, but probably not supported (yet).

agent_transact_unix looks like there is some kind of support for
optimistic non-blocking mode, but it also looks like there is nothing
that actually sets the agent connection non-blocking.

agent_transact_pageant (windows) do not look like it's prepared for
non-blocking use at all.

Regards
Henrik

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