git: 9front

Download patch

ref: 4a4a5f8eede9baee7a92ab89157f6481c4de48f2
parent: db8f8d037031f066188118ce322c5aecfb30d988
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()){
--