From 363c3ece3ac7a8980d00e82c565be8e61c9250b7 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 26 Feb 2005 19:37:49 +0000 Subject: [PATCH] Don't allow keep-alive sending if --read-batch is enabled. --- generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator.c b/generator.c index 1c3ceaaa..9dff3449 100644 --- a/generator.c +++ b/generator.c @@ -1075,7 +1075,7 @@ void generate_files(int f_out, struct file_list *flist, char *local_name, int need_retouch_dir_perms = 0; int save_only_existing = only_existing; int save_opt_ignore_existing = opt_ignore_existing; - int allowed_lull = io_timeout / 2; + int allowed_lull = read_batch ? 0 : io_timeout / 2; if (protocol_version >= 29) { itemizing = 1; -- 2.34.1