summaryrefslogtreecommitdiffhomepage
path: root/session.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-03-20 23:36:42 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-03-20 23:36:42 +0800
commit275611fbaaa14824de69bccc68161d5ed195b745 (patch)
treea41f254aa307fb360efe3a1fe5699a62a35ebbf2 /session.h
parenta070159cc5ed59df4d79f6d23c9ba87a3f50a7ec (diff)
Make main socket nonblocking. Limit writequeue size.
Diffstat (limited to 'session.h')
-rw-r--r--session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/session.h b/session.h
index 478de94..0059d94 100644
--- a/session.h
+++ b/session.h
@@ -125,6 +125,7 @@ struct sshsession {
throughout the code, as handlers fill out this
buffer with the packet to send. */
struct Queue writequeue; /* A queue of encrypted packets to send */
+ unsigned int writequeue_len; /* Number of bytes pending to send in writequeue */
buffer *readbuf; /* From the wire, decrypted in-place */
buffer *payload; /* Post-decompression, the actual SSH packet.
May have extra data at the beginning, will be