[Cyrus-CVS] src/cyrus/lib by murch

murch at andrew.cmu.edu murch at andrew.cmu.edu
Tue Sep 23 13:34:38 EDT 2008


Update of /afs/andrew/system/cvs/src/cyrus/lib
In directory unix38.andrew.cmu.edu:/var/tmp/cvs-serv7376/lib

Modified Files:
	imapoptions libconfig.c libconfig.h 
Log Message:
Make MAXWORD and MAXQUOTED configurable

>From Bron Gondwana <brong at fastmail.fm>:

We've been patching our Cyrus at FastMail to make MAXWORD and MAXQUOTED much
bigger, from 32k to 512k.

This patch is a rework of our patch doing the following:

1) create two new config options "maxword" and "maxquoted"
2) use these options rather than hard coded limits
3) set the defaults to a nice halfway point: 128k.

This avoids the "I use Cyrus on an embedded machine with 10Mb memory" vs "I
have a shiny new machine with 32Gb of memory" (we have 2 of them now :))
argument.


--- links to diffs follow ---
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/imapoptions.diff?r1=1.55&r2=1.56
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/libconfig.c.diff?r1=1.20&r2=1.21
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/lib/libconfig.h.diff?r1=1.8&r2=1.9


More information about the Cyrus-cvs mailing list