From: Wayne Davison Date: Sat, 15 Sep 2007 15:36:04 +0000 (+0000) Subject: The server should not wait around for an extra end-of-run message. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/f2179fd37063a37bea9b9b259c412a8d10a8fa62 The server should not wait around for an extra end-of-run message. --- diff --git a/io.c b/io.c index 326b2d09..b3f3373a 100644 --- a/io.c +++ b/io.c @@ -1435,7 +1435,7 @@ static void writefd_unbuffered(int fd, const char *buf, size_t len) (long)len, who_am_i()); /* If the other side is sending us error messages, try * to grab any messages they sent before they died. */ - while (fd == sock_f_out && io_multiplexing_in) { + while (!am_server && fd == sock_f_out && io_multiplexing_in) { set_io_timeout(30); ignore_timeout = 0; readfd_unbuffered(sock_f_in, io_filesfrom_buf,