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

Archive Index This month's Index

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

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

From: aalok sood <aalok_at_ideadevice.com>
Date: Fri, 29 Jun 2012 02:22:54 +0530

Hello everyone

My apologies for sending python binding's snippet.

How do I make libssh2_session_startup(), libssh2_userauth_password() behave
in a non-blocking manner?

Thanks
Aalok

On Thu, Jun 28, 2012 at 3:08 AM, aalok sood <aalok_at_ideadevice.com> wrote:

> 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-28

the libssh2 team