Commit b5587288 authored by Wayne Davison's avatar Wayne Davison

Added keep-alive checking during the directory-touching loop at

the end of the processing.
parent e777afad
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment