diff options
author | Matt Johnston <matt@ucc.asn.au> | 2007-07-24 15:40:23 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2007-07-24 15:40:23 +0000 |
commit | 2d4d9627a21f11a3e5caa17149e5391e71af256b (patch) | |
tree | 13055bd4d173cbf2c4c161d7e9d181cca47c5f7d /common-session.c | |
parent | 762e9973ffb903c5431b8d4a310a94bc58dd80fd (diff) |
Rearrange the channel buffer sizes into three neat use-editable values in
options.h. Increasing RECV_MAX_WINDOW gives big network performance
increases - even with the present buffers (which haven't changed) it
performs a lot better.
Next step is to make the window size a cmdline option.
--HG--
extra : convert_revision : 24c7cb47fb56cf5b82e3bc0859b45ea83038eab0
Diffstat (limited to 'common-session.c')
-rw-r--r-- | common-session.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common-session.c b/common-session.c index 6e1abf3..b5adad2 100644 --- a/common-session.c +++ b/common-session.c @@ -69,7 +69,7 @@ void common_session_init(int sock, char* remotehost) { kexfirstinitialise(); /* initialise the kex state */ - ses.writepayload = buf_new(MAX_TRANS_PAYLOAD_LEN); + ses.writepayload = buf_new(TRANS_MAX_PAYLOAD_LEN); ses.transseq = 0; ses.readbuf = NULL; |