Fwd: Huge header detection

Bron Gondwana brong at fastmail.fm
Mon Feb 9 06:37:16 EST 2009


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 )


More information about the Info-cyrus mailing list