summaryrefslogtreecommitdiffhomepage
path: root/cli-chansession.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2007-07-24 15:40:23 +0000
committerMatt Johnston <matt@ucc.asn.au>2007-07-24 15:40:23 +0000
commit2d4d9627a21f11a3e5caa17149e5391e71af256b (patch)
tree13055bd4d173cbf2c4c161d7e9d181cca47c5f7d /cli-chansession.c
parent762e9973ffb903c5431b8d4a310a94bc58dd80fd (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 'cli-chansession.c')
-rw-r--r--cli-chansession.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-chansession.c b/cli-chansession.c
index 0f0d07a..e4ec45c 100644
--- a/cli-chansession.c
+++ b/cli-chansession.c
@@ -350,7 +350,7 @@ static int cli_initchansess(struct Channel *channel) {
channel->errfd = STDERR_FILENO;
setnonblocking(STDERR_FILENO);
- channel->extrabuf = cbuf_new(RECV_MAXWINDOW);
+ channel->extrabuf = cbuf_new(RECV_MAX_WINDOW);
if (cli_opts.wantpty) {
send_chansess_pty_req(channel);