git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb84a83
)
Added a short msleep() after option_error() before we exit. This
author
Wayne Davison
<wayned@samba.org>
Sun, 13 Jun 2004 14:18:48 +0000
(14:18 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 13 Jun 2004 14:18:48 +0000
(14:18 +0000)
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
patch
|
blob
|
history
diff --git
a/clientserver.c
b/clientserver.c
index 07576471d2084bd9bd9eab82db6de6faba8c5b33..555c315422cc0358e3c0faabc3e8345b6cbb4e1b 100644
(file)
--- 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);
}