diff options
author | Darren Tucker <dtucker@zip.com.au> | 2009-08-28 11:21:06 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2009-08-28 11:21:06 +1000 |
commit | 86e30a0166f9c9e65983d2c4066873c4181d08c8 (patch) | |
tree | 3b2be01d381e61c1c7f544a560f7dbb8b430a5d7 /clientloop.c | |
parent | 3980b636312516ee823e84e884dadbc86e6795d3 (diff) |
- (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 | |||
636 | client_process_net_input(fd_set *readset) | 636 | client_process_net_input(fd_set *readset) |
637 | { | 637 | { |
638 | int len, cont = 0; | 638 | int len, cont = 0; |
639 | char buf[8192]; | 639 | char buf[SSH_IOBUFSZ]; |
640 | 640 | ||
641 | /* | 641 | /* |
642 | * Read input from the server, and add any such data to the buffer of | 642 | * Read input from the server, and add any such data to the buffer of |
@@ -1129,7 +1129,7 @@ static void | |||
1129 | client_process_input(fd_set *readset) | 1129 | client_process_input(fd_set *readset) |
1130 | { | 1130 | { |
1131 | int len; | 1131 | int len; |
1132 | char buf[8192]; | 1132 | char buf[SSH_IOBUFSZ]; |
1133 | 1133 | ||
1134 | /* Read input from stdin. */ | 1134 | /* Read input from stdin. */ |
1135 | if (FD_ISSET(fileno(stdin), readset)) { | 1135 | if (FD_ISSET(fileno(stdin), readset)) { |