summaryrefslogtreecommitdiffhomepage
path: root/packet.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2007-07-27 17:13:42 +0000
committerMatt Johnston <matt@ucc.asn.au>2007-07-27 17:13:42 +0000
commit57ae0bfedfaa475c4c49621fd4e2b168b5c73d50 (patch)
tree917c86e7cd2aad89269abafe703704afc4e6370e /packet.h
parent993f58900dd0cdadee4d015e38c587342fa9e67a (diff)
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. --HG-- extra : convert_revision : 48426bd66b8f5ba50045f7ba190d1672745132e2
Diffstat (limited to 'packet.h')
-rw-r--r--packet.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/packet.h b/packet.h
index e9768cd..8fadeb3 100644
--- a/packet.h
+++ b/packet.h
@@ -35,6 +35,7 @@ void encrypt_packet();
void process_packet();
+void maybe_flush_reply_queue();
typedef struct PacketType {
unsigned char type; /* SSH_MSG_FOO */
void (*handler)();