www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Is it possible to do session.startup and session.userauth_password in non blocking manner?

Is it possible to do session.startup and session.userauth_password in non blocking manner?

From: aalok sood <aalok_at_ideadevice.com>
Date: Thu, 28 Jun 2012 03:08:09 +0530

Hello

I have a nicely working ssh multiplexer using libssh2 in non blocking mode.
The non blocking mode works for read on the channel but I see that startup
and userauth_password methods of libssh2 session object are blocking

Link to my code snippet:
https://gist.github.com/3006745

Am I missing something here?

Thanks & Regards
Aalok Sood

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-06-27

the libssh2 team