[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ssh_channel_open_session() can return SSH_AGAIN when ssh_is_blocking() returns 1
[Thread Prev] | [Thread Next]
- Subject: ssh_channel_open_session() can return SSH_AGAIN when ssh_is_blocking() returns 1
- From: Dustin Oprea <myselfasunder@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Sat, 14 Sep 2013 15:00:36 -0400
- To: libssh <libssh@xxxxxxxxxx>
Even though I'm exclusively blocking, I get an SSH_AGAIN, sometimes, when I call ssh_channel_open_session(). ssh_channel_open_session() -> channel_open() -> ssh_handle_packets_termination() handle_packets_termination() is responsible for this. Is libssh overloading SSH_AGAIN to mean try-again under both blocking and non-blocking modes? Should I check for this response from every call in the event of a timeout, under both blocking and non-blocking modes? Dustin
Re: ssh_channel_open_session() can return SSH_AGAIN when ssh_is_blocking() returns 1 | Andreas Schneider <asn@xxxxxxxxxxxxxx> |