[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: behavior in non-blocking

On Tue, 2017-10-31 at 10:07 +0200, Nikolay wrote:
> Hi, Nikos.
> Unfortunately, libssh is not completely non-blocking. It only has 
> non-blocking mode for a set of calls.

I realized that as the scp subsystem fails to work when the session is
put in non-blocking mode. In the curl patch I put the session back to
blocking when starting scp.

> But if you're interested in directions, you could look for 
> ssh_get_poll_flags() function:
> http://api.libssh.org/stable/group__libssh__session.html#gae9d0104fbe
> ca17bcfb0659ad718c4606
> It returns a set of flags like SSH_READ_PENDING and/or

Thank you. That seems to be what I was looking for.


behavior in non-blockingNikos Mavrogiannopoulos <nmav@xxxxxxxxxx>
Re: behavior in non-blockingNikolay <nitro@xxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org