Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added timeout option in rsyncd.conf
[rsync/rsync.git]
/
clientserver.c
diff --git
a/clientserver.c
b/clientserver.c
index
4b8ed53
..
809d16b
100644
(file)
--- a/
clientserver.c
+++ b/
clientserver.c
@@
-314,6
+314,11
@@
static int rsync_module(int fd, int i)
exit_cleanup(RERR_SYNTAX);
}
+ if (lp_timeout(i)) {
+ extern int io_timeout;
+ io_timeout = lp_timeout(i);
+ }
+
start_server(fd, fd, argc, argp);
return 0;