diff options
author | Roger Dingledine <arma@torproject.org> | 2003-10-17 10:00:01 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-10-17 10:00:01 +0000 |
commit | f96f964a198bf1e153cb189d6c6d2fd5e4816813 (patch) | |
tree | f0dc3876ddbe2a8dae926d7fcc3941be1bc2984e /src/or/buffers.c | |
parent | 0b1afa951ed10750d6ddccd4eb1014bb82fa8220 (diff) | |
download | tor-f96f964a198bf1e153cb189d6c6d2fd5e4816813.tar tor-f96f964a198bf1e153cb189d6c6d2fd5e4816813.tar.gz |
try to make cvs more stable for now. need to test this more in a bit.
svn:r612
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index 5938ded7a..1a3c9e6d4 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -14,13 +14,13 @@ struct buf_t { size_t datalen; }; /* Size, in bytes, for newly allocated buffers. Should be a power of 2. */ -#define INITIAL_BUF_SIZE (4*1024) +#define INITIAL_BUF_SIZE (512*1024) /* used to be 4*1024 */ /* Maximum size, in bytes, for resized buffers. */ -#define MAX_BUF_SIZE (640*1024) +#define MAX_BUF_SIZE (1024*1024) /* Size, in bytes, for minimum 'shrink' size for buffers. Buffers may start * out smaller than this, but they will never autoshrink to less * than this size. */ -#define MIN_BUF_SHRINK_SIZE (16*1024) +#define MIN_BUF_SHRINK_SIZE (512*1024) /* used to be 16*1024 */ #define BUF_OK(b) ((b) && (b)->mem && (b)->datalen <= (b)->len) /* Change a buffer's capacity. Must only be called when */ |