Make sure the check_close() handler runs when a server child process exits

This commit is contained in:
Matt Johnston
2014-07-28 23:23:49 +08:00
parent 393ca2a290
commit 0e7409c7ff
3 changed files with 10 additions and 0 deletions

View File

@@ -187,6 +187,7 @@ struct sshsession {
unsigned int chansize; /* the number of Channel*s allocated for channels */
unsigned int chancount; /* the number of Channel*s in use */
const struct ChanType **chantypes; /* The valid channel types */
int channel_signal_pending; /* Flag set by sigchld handler */
/* TCP priority level for the main "port 22" tcp socket */
enum dropbear_prio socket_prio;