[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


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

Archive administrator: postmaster@lists.cynapses.org