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

non-blocking code and EAGAIN

How is libssh able to handle non-blocking sockets if errno==EAGAIN isn't
handled specially? Upon lightly examining socket.c it seems like if errno
is < 0 on read or write then the connection goes into an error mode
(data_except is set which subsequently sets the status to SSH_CLOSED_ERROR)


Archive administrator: postmaster@lists.cynapses.org