diff options
author | 1995-12-20 21:58:37 +0000 | |
---|---|---|
committer | 1995-12-20 21:58:37 +0000 | |
commit | 1335fd6042d0364ecae305e11e0b551f2de9f691 (patch) | |
tree | 7c94b32dd45a0e3119553125bbd330c6901591b6 | |
parent | use an ${INSTALL_MAN} variable to allow cvs to still be compiled on other machines (diff) | |
download | wireguard-openbsd-1335fd6042d0364ecae305e11e0b551f2de9f691.tar.xz wireguard-openbsd-1335fd6042d0364ecae305e11e0b551f2de9f691.zip |
stall all three server:server pipes, and 2MB instead of 256K
-rw-r--r-- | gnu/usr.bin/cvs/src/server.c | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/gnu/usr.bin/cvs/src/server.c b/gnu/usr.bin/cvs/src/server.c index 9053f6c5013..54aabb72130 100644 --- a/gnu/usr.bin/cvs/src/server.c +++ b/gnu/usr.bin/cvs/src/server.c @@ -2165,17 +2165,19 @@ do_cvs_command (command) FD_ZERO (&writefds); if (! buf_empty_p (&outbuf)) FD_SET (STDOUT_FILENO, &writefds); - if (stdout_pipe[0] >= 0 && buf_len (&outbuf) < 256*1024) - { - FD_SET (stdout_pipe[0], &readfds); - } - if (stderr_pipe[0] >= 0) - { - FD_SET (stderr_pipe[0], &readfds); - } - if (protocol_pipe[0] >= 0) - { - FD_SET (protocol_pipe[0], &readfds); + if ( buf_len (&outbuf) < 2*1024*1024) { + if (stdout_pipe[0] >= 0) + { + FD_SET (stdout_pipe[0], &readfds); + } + if (stderr_pipe[0] >= 0) + { + FD_SET (stderr_pipe[0], &readfds); + } + if (protocol_pipe[0] >= 0) + { + FD_SET (protocol_pipe[0], &readfds); + } } do { |