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