summaryrefslogtreecommitdiff
path: root/rsync.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-05-17 05:56:32 +0000
committerAndrew Tridgell <tridge@samba.org>1998-05-17 05:56:32 +0000
commit5dd7e031675d21c2ab28d464d64422ee1f097341 (patch)
tree3bf5c695fd3ee13fa7020ef1837d4651eeea29ca /rsync.h
parent08ac228fbd0be74bfb65d1d3f98f7901eda129ba (diff)
downloadrsync-5dd7e031675d21c2ab28d464d64422ee1f097341.tar.gz
rsync-5dd7e031675d21c2ab28d464d64422ee1f097341.tar.bz2
rsync-5dd7e031675d21c2ab28d464d64422ee1f097341.zip
put a limit (default 1MB) on the read buffer size. This stops it
growing too much if the sender is much faster than the receiver
Diffstat (limited to 'rsync.h')
-rw-r--r--rsync.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rsync.h b/rsync.h
index 187ef375..1a691586 100644
--- 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