diff packet.h @ 452:4cab61369879

Prevent invalid packets being sent during key-exchange, instead queue them until afterwards. This could sometimes terminate connections after 8 hours if (for example) a new TCP forwarded connection was sent at the KEX timeout.
author Matt Johnston <matt@ucc.asn.au>
date Fri, 27 Jul 2007 17:13:42 +0000
parents c1e5d9195402
children da6340a60039
line wrap: on
line diff
--- a/packet.h	Wed Jul 25 16:20:57 2007 +0000
+++ b/packet.h	Fri Jul 27 17:13:42 2007 +0000
@@ -35,6 +35,7 @@
 
 void process_packet();
 
+void maybe_flush_reply_queue();
 typedef struct PacketType {
 	unsigned char type; /* SSH_MSG_FOO */
 	void (*handler)();