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 keep-alive checking during the directory-touching loop at
[rsync/rsync.git]
/
generator.c
diff --git
a/generator.c
b/generator.c
index
9dff344
..
6966ec1
100644
(file)
--- 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);