From b5587288756e2e1638ae97c88937505a5edee709 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 26 Feb 2005 20:43:14 +0000 Subject: [PATCH] Added keep-alive checking during the directory-touching loop at the end of the processing. --- generator.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/generator.c b/generator.c index 9dff3449..6966ec1d 100644 --- a/generator.c +++ b/generator.c @@ -1200,6 +1200,8 @@ void generate_files(int f_out, struct file_list *flist, char *local_name, flist, file, i, itemizing, maybe_PERMS_REPORT, code, allowed_lull, -1, -1); + if (allowed_lull && !(i % 500)) + maybe_send_keepalive(allowed_lull, flist->count); } } recv_generator(NULL, NULL, NULL, 0, 0, 0, code, 0, -1, -1); -- 2.34.1