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
put a limit (default 1MB) on the read buffer size. This stops it
[rsync/rsync.git]
/
rsync.h
diff --git
a/rsync.h
b/rsync.h
index
187ef37
..
1a69158
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-52,6
+52,7
@@
#define CHUNK_SIZE (32*1024)
#define MAX_MAP_SIZE (4*1024*1024)
#define IO_BUFFER_SIZE (4096)
+#define MAX_READ_BUFFER (1024*1024)
#define MAX_ARGS 1000