[Cyrus-CVS] src/cyrus/imap by brong
brong at andrew.cmu.edu
brong at andrew.cmu.edu
Thu Mar 5 22:52:55 EST 2009
Update of /afs/andrew.cmu.edu/system/cvs/src/cyrus/imap
In directory cyrus-devel-01.andrew.cmu.edu:/afs/andrew.cmu.edu/usr3/brong/src/cyrus/imap
Modified Files:
message.c
Log Message:
Limit the number of message headers added to the cache
This is in response to a site that had emails with 31,000
copies of the same headers added over and over again by a
malfunctioning program. The messages caused huge cache
records and a massive IO hit just viewing them, generating
a denial of service.
By having a limit, sane emails won't be affected, and
broken emails should still be reasonably findable because
the first 1000 headers will usually contain the important
information anyway.
--- links to diffs follow ---
http://bugzilla.andrew.cmu.edu/cgi-bin/cvsweb.cgi/src/cyrus/imap/message.c.diff?r1=1.112&r2=1.113
More information about the Cyrus-cvs
mailing list