Re: Fwd: Huge header detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 09, 2009 at 10:02:37PM +1100, Bron Gondwana wrote:
> Ditto.  Gosh.  That makes 3 tunables.  The gods of tunable
> non-proliferation will want my head for doing this:
> 
> maxcacheheaders_warn = 500
> maxcacheheaders_skip = 1000 (same as the current patch)
> maxcacheheaders_reject = 2000
> 
> Sound like reasonable defaults?  I'm tempted to make the _reject be '0'
> (don't reject) by default.

Yeah, something like this completely untested code!

Bron ( there doesn't seem to be an easy way to signal "abort this
       thing" back up the chain while parsing the message in the
       general case, but at least I've caught the top level message )
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux