1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

Fixed outgoing flow control + writes behaviours

This commit is contained in:
Aris Adamantiadis
2010-09-26 22:33:58 +02:00
parent a92545517a
commit 75a0281a6b
8 changed files with 37 additions and 39 deletions

View File

@@ -565,7 +565,7 @@ int ssh_select(ssh_channel *channels, ssh_channel *outchannels, socket_t maxfd,
for (i = 0; channels[i]; i++) {
if (channels[i]->session->alive &&
ssh_socket_fd_isset(channels[i]->session->socket,&localset)) {
ssh_socket_set_toread(channels[i]->session->socket);
ssh_socket_set_read_wontblock(channels[i]->session->socket);
}
}