diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-03-20 23:36:42 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-03-20 23:36:42 +0800 |
commit | 275611fbaaa14824de69bccc68161d5ed195b745 (patch) | |
tree | a41f254aa307fb360efe3a1fe5699a62a35ebbf2 /session.h | |
parent | a070159cc5ed59df4d79f6d23c9ba87a3f50a7ec (diff) |
Make main socket nonblocking. Limit writequeue size.
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |