From 2d4d9627a21f11a3e5caa17149e5391e71af256b Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 24 Jul 2007 15:40:23 +0000 Subject: 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 --- common-session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common-session.c') 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; -- cgit v1.2.3