From 7e5614383d07df443ca1170360277205d1721137 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 13 Jun 2004 14:18:48 +0000 Subject: [PATCH] Added a short msleep() after option_error() before we exit. This ensures that the remote client has time to read our error message while it is trying to write data to us before it gets a socket error. --- clientserver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clientserver.c b/clientserver.c index 07576471..555c3154 100644 --- a/clientserver.c +++ b/clientserver.c @@ -460,6 +460,7 @@ static int rsync_module(int f_in, int f_out, int i) if (!ret) { option_error(); + msleep(400); exit_cleanup(RERR_UNSUPPORTED); } -- 2.34.1