shithub: riscv

Download patch

ref: 99825e22ed403c8636751238743d01a1b143f8e2
parent: 9b33c34e9bd63b752f6b36f2ecc54e007cc5d2c4
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Apr 20 21:45:11 EDT 2017

ssh: increase initial window size for better throughput

--- a/sys/src/cmd/ssh.c
+++ b/sys/src/cmd/ssh.c
@@ -1128,7 +1128,7 @@
 	sendpkt("bsuuu", MSG_CHANNEL_OPEN,
 		"session", 7,
 		0,
-		sizeof(buf),
+		8*sizeof(buf),
 		sizeof(buf));
 
 Next1:	switch(recvpkt()){