Mercurial > dropbear
comparison session.h @ 493:6cd2152aae0b idle-timeout
Idle-timeout patch from Farrell Aultman, need to figure whether to only
account DATA packets and whether server->client data makes sense too.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 22 Sep 2008 15:28:52 +0000 |
parents | 738313e73b1c |
children |
comparison
equal
deleted
inserted
replaced
492:b956d6151600 | 493:6cd2152aae0b |
---|---|
132 unsigned char ignorenext; /* whether to ignore the next packet, | 132 unsigned char ignorenext; /* whether to ignore the next packet, |
133 used for kex_follows stuff */ | 133 used for kex_follows stuff */ |
134 | 134 |
135 unsigned char lastpacket; /* What the last received packet type was */ | 135 unsigned char lastpacket; /* What the last received packet type was */ |
136 | 136 |
137 int signal_pipe[2]; /* stores endpoints of a self-pipe used for | 137 int signal_pipe[2]; /* stores endpoints of a self-pipe used for |
138 race-free signal handling */ | 138 race-free signal handling */ |
139 | 139 |
140 time_t last_packet_time; /* time of the last packet transmission, for | 140 time_t last_packet_time; /* time of the last packet transmission, for |
141 keepalive purposes */ | 141 keepalive purposes */ |
142 | |
143 time_t last_recv_packet_time; /* time of the last packet received, for | |
144 idle timeout purposes */ | |
145 | |
142 | 146 |
143 /* KEX/encryption related */ | 147 /* KEX/encryption related */ |
144 struct KEXState kexstate; | 148 struct KEXState kexstate; |
145 struct key_context *keys; | 149 struct key_context *keys; |
146 struct key_context *newkeys; | 150 struct key_context *newkeys; |