summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2008-07-13 22:16:03 +0000
committerdjm <djm@openbsd.org>2008-07-13 22:16:03 +0000
commit140f3a763037f7be315105ccd2fbc63336e81b98 (patch)
treeb0a8c78af3987cfe922c71e634acd3ab9d5e6a3b
parentuse struct sockaddr_storage instead of struct sockaddr for accept(2) (diff)
downloadwireguard-openbsd-140f3a763037f7be315105ccd2fbc63336e81b98.tar.xz
wireguard-openbsd-140f3a763037f7be315105ccd2fbc63336e81b98.zip
increase number of piplelined requests so they properly fill the
(recently increased) channel window. prompted by rapier AT psc.edu; ok markus@
-rw-r--r--usr.bin/ssh/sftp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sftp.c b/usr.bin/ssh/sftp.c
index 332903be685..a0b9bc399f1 100644
--- a/usr.bin/ssh/sftp.c
+++ b/usr.bin/ssh/sftp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp.c,v 1.102 2008/06/21 07:46:46 martynas Exp $ */
+/* $OpenBSD: sftp.c,v 1.103 2008/07/13 22:16:03 djm Exp $ */
/*
* Copyright (c) 2001-2004 Damien Miller <djm@openbsd.org>
*
@@ -56,7 +56,7 @@ int batchmode = 0;
size_t copy_buffer_len = 32768;
/* Number of concurrent outstanding requests */
-size_t num_requests = 16;
+size_t num_requests = 64;
/* PID of ssh transport process */
static pid_t sshpid = -1;