work in progress for async connect

--HG--
branch : fastopen
This commit is contained in:
Matt Johnston
2015-02-18 00:05:27 +08:00
parent 28f61c8b3a
commit 8795d733ec
5 changed files with 246 additions and 93 deletions

View File

@@ -144,6 +144,8 @@ struct sshsession {
int signal_pipe[2]; /* stores endpoints of a self-pipe used for
race-free signal handling */
m_list conn_pending;
/* time of the last packet send/receive, for keepalive. Not real-world clock */
time_t last_packet_time_keepalive_sent;