summaryrefslogtreecommitdiff
path: root/sys/src/cmd/ssh.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-04-21 01:45:11 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2017-04-21 01:45:11 +0200
commit99825e22ed403c8636751238743d01a1b143f8e2 (patch)
tree2002338b1b8d2038b06551983d4293443707256f /sys/src/cmd/ssh.c
parent9b33c34e9bd63b752f6b36f2ecc54e007cc5d2c4 (diff)
ssh: increase initial window size for better throughput
Diffstat (limited to 'sys/src/cmd/ssh.c')
-rw-r--r--sys/src/cmd/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/ssh.c b/sys/src/cmd/ssh.c
index 6950eb65b..67f790723 100644
--- a/sys/src/cmd/ssh.c
+++ b/sys/src/cmd/ssh.c
@@ -1128,7 +1128,7 @@ Next0: switch(recvpkt()){
sendpkt("bsuuu", MSG_CHANNEL_OPEN,
"session", 7,
0,
- sizeof(buf),
+ 8*sizeof(buf),
sizeof(buf));
Next1: switch(recvpkt()){