mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-02 01:17:52 +03:00
Reverse commit 076dfb82 for the server side
This commit is contained in:
@@ -395,6 +395,8 @@ int ssh_handle_packets(ssh_session session, int timeout) {
|
||||
enter_function();
|
||||
spoll_in=ssh_socket_get_poll_handle_in(session->socket);
|
||||
spoll_out=ssh_socket_get_poll_handle_out(session->socket);
|
||||
if(session->server)
|
||||
ssh_poll_add_events(spoll_in, POLLIN | POLLERR);
|
||||
ctx=ssh_poll_get_ctx(spoll_in);
|
||||
if(ctx==NULL){
|
||||
ctx=ssh_poll_get_default_ctx(session);
|
||||
|
||||
Reference in New Issue
Block a user