[Varnish] #701: Parameters to limit URI / header sizes

Varnish varnish-bugs at varnish-cache.org
Wed May 19 21:40:34 CEST 2010


#701: Parameters to limit URI / header sizes
------------------------------------------------+---------------------------
 Reporter:  slink                               |        Owner:  phk    
     Type:  enhancement                         |       Status:  closed 
 Priority:  normal                              |    Milestone:         
Component:  varnishd                            |      Version:  trunk  
 Severity:  normal                              |   Resolution:  invalid
 Keywords:  max_hdr_len max_uri_len limit size  |  
------------------------------------------------+---------------------------
Changes (by phk):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 We already have a length check on the total request: half the workspace.
 That should probably become a parameter. Further checks should be in VCL,
 and while it is easy to do
 {{{
  if (length(req.http) > 200) {...}
 }}}

 it is harder with req.http.* since you may not know which headers are
 there. A combination with a header-washing function is relevant here.

 I have moved this to the PostTwoShoppingList wiki page.

 (We only use tickets to track actual bugs, not feature requests).

-- 
Ticket URL: <http://varnish-cache.org/ticket/701#comment:1>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list