diff options
author | Darren Tucker <dtucker@zip.com.au> | 2009-08-28 03:21:06 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2009-08-28 03:21:06 +0200 |
commit | 86e30a0166f9c9e65983d2c4066873c4181d08c8 (patch) | |
tree | 3b2be01d381e61c1c7f544a560f7dbb8b430a5d7 /clientloop.c | |
parent | - (dtucker) [channels.c configure.ac] Bug #1528: skip the tcgetattr call on (diff) | |
download | openssh-86e30a0166f9c9e65983d2c4066873c4181d08c8.tar.xz openssh-86e30a0166f9c9e65983d2c4066873c4181d08c8.zip |
- (dtucker) [clientloop.c configure.ac defines.h] Make the client's IO buffer
size a compile-time option and set it to 64k on Cygwin, since Corinna
reports that it makes a significant difference to performance. ok djm@
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c index b8352f6bf..9a7dc0ab0 100644 --- a/clientloop.c +++ b/clientloop.c @@ -636,7 +636,7 @@ static void client_process_net_input(fd_set *readset) { int len, cont = 0; - char buf[8192]; + char buf[SSH_IOBUFSZ]; /* * Read input from the server, and add any such data to the buffer of @@ -1129,7 +1129,7 @@ static void client_process_input(fd_set *readset) { int len; - char buf[8192]; + char buf[SSH_IOBUFSZ]; /* Read input from stdin. */ if (FD_ISSET(fileno(stdin), readset)) { |