diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-05-17 05:56:32 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-05-17 05:56:32 +0000 |
commit | 5dd7e031675d21c2ab28d464d64422ee1f097341 (patch) | |
tree | 3bf5c695fd3ee13fa7020ef1837d4651eeea29ca /rsync.h | |
parent | 08ac228fbd0be74bfb65d1d3f98f7901eda129ba (diff) | |
download | rsync-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |