mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
- Add the signal pipe to maxfd
--HG-- extra : convert_revision : 0a8dfaa3e5365a2004db2b55895e11f65b5cefcc
This commit is contained in:
parent
ff763e4005
commit
061565865c
@ -71,6 +71,9 @@ void common_session_init(int sock_in, int sock_out, char* remotehost) {
|
||||
}
|
||||
setnonblocking(ses.signal_pipe[0]);
|
||||
setnonblocking(ses.signal_pipe[1]);
|
||||
|
||||
ses.maxfd = MAX(ses.maxfd, ses.signal_pipe[0]);
|
||||
ses.maxfd = MAX(ses.maxfd, ses.signal_pipe[1]);
|
||||
|
||||
kexfirstinitialise(); /* initialise the kex state */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user