[Cyrus-CVS] src/cyrus/imap by murch
murch at andrew.cmu.edu
murch at andrew.cmu.edu
Tue Sep 23 13:34:37 EDT 2008
Update of /afs/andrew/system/cvs/src/cyrus/imap
In directory unix38.andrew.cmu.edu:/var/tmp/cvs-serv7376/imap
Modified Files:
imapparse.c sync_support.c
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/imap/imapparse.c.diff?r1=1.18&r2=1.19
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/sync_support.c.diff?r1=1.19&r2=1.20
More information about the Cyrus-cvs
mailing list