[or-cvs] try to make cvs more stable for now. need to test this more...

Roger Dingledine arma at seul.org
Fri Oct 17 10:00:03 UTC 2003


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	buffers.c 
Log Message:
try to make cvs more stable for now. need to test this more in a bit.


Index: buffers.c
===================================================================
RCS file: /home/or/cvsroot/src/or/buffers.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- buffers.c	15 Oct 2003 19:17:21 -0000	1.49
+++ buffers.c	17 Oct 2003 10:00:01 -0000	1.50
@@ -14,13 +14,13 @@
   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 */



More information about the tor-commits mailing list