diff options
author | Roger Dingledine <arma@torproject.org> | 2004-04-08 02:19:35 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-04-08 02:19:35 +0000 |
commit | 36d7cc8529ebdfc2ce0a3eec07a97d25790bcafd (patch) | |
tree | 8d82d532593281bcf8232e88595aec48dc32267a /src/or/buffers.c | |
parent | 4d194ef13fe7745c74032625f2aa55b7aa94a49a (diff) | |
download | tor-36d7cc8529ebdfc2ce0a3eec07a97d25790bcafd.tar.gz tor-36d7cc8529ebdfc2ce0a3eec07a97d25790bcafd.zip |
make the max buf size 10 megabytes, not 1 megabyte
need to implement flexible buffer sizes soon
svn:r1553
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index fb0e2f1064..6b30d13f0f 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -17,7 +17,7 @@ struct buf_t { /* Size, in bytes, for newly allocated buffers. Should be a power of 2. */ #define INITIAL_BUF_SIZE (4*1024) /* Maximum size, in bytes, for resized buffers. */ -#define MAX_BUF_SIZE (1024*1024) +#define MAX_BUF_SIZE (1024*1024*10) /* 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. */ |