X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/654175798bdbdd6403e10c8fa74e8586b3612ea1..6bd98f0617dc20c5f5d54c10ed5c4b53b831e0b5:/clientserver.c diff --git a/clientserver.c b/clientserver.c index 4b8ed53b..7dee5441 100644 --- a/clientserver.c +++ b/clientserver.c @@ -253,7 +253,7 @@ static int rsync_module(int fd, int i) request = strdup(p); start_glob++; } - glob_expand(name, argv, &argc, MAX_ARGS); + glob_expand(name, argv, &argc, MAX_ARGS, !use_chroot); } else { argc++; } @@ -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;