comparison session.h @ 513:a3748e54273c

Idle timeout patch from Farrell Aultman. Needs testing, unsure if server code works
author Matt Johnston <matt@ucc.asn.au>
date Fri, 07 Nov 2008 14:11:06 +0000
parents 43bbe17d6ba0
children 0431915df79f 76097ec1a29a
comparison
equal deleted inserted replaced
510:b85507ade010 513:a3748e54273c
146 unsigned char ignorenext; /* whether to ignore the next packet, 146 unsigned char ignorenext; /* whether to ignore the next packet,
147 used for kex_follows stuff */ 147 used for kex_follows stuff */
148 148
149 unsigned char lastpacket; /* What the last received packet type was */ 149 unsigned char lastpacket; /* What the last received packet type was */
150 150
151 int signal_pipe[2]; /* stores endpoints of a self-pipe used for 151 int signal_pipe[2]; /* stores endpoints of a self-pipe used for
152 race-free signal handling */ 152 race-free signal handling */
153 153
154 time_t last_packet_time; /* time of the last packet transmission, for 154 time_t last_trx_packet_time; /* time of the last packet transmission, for
155 keepalive purposes */ 155 keepalive purposes */
156
157 time_t last_packet_time; /* time of the last packet transmission or receive, for
158 idle timeout purposes */
159
156 160
157 /* KEX/encryption related */ 161 /* KEX/encryption related */
158 struct KEXState kexstate; 162 struct KEXState kexstate;
159 struct key_context *keys; 163 struct key_context *keys;
160 struct key_context *newkeys; 164 struct key_context *newkeys;