[Varnish] #416: Segfault

Varnish varnish-bugs at projects.linpro.no
Fri Feb 6 16:03:22 CET 2009

#416: Segfault
 Reporter:  sky     |        Owner:  sky   
     Type:  defect  |       Status:  closed
 Priority:  normal  |    Milestone:        
Component:  build   |      Version:  2.0   
 Severity:  normal  |   Resolution:  fixed 
 Keywords:          |  
Comment (by tfheen):

 (In [3687]) Merge r3498: Handle too many headers more gracefully

 If we get more HTTP headers than we have room for (default: 28) we
 used to ignore the rest.

 This is not a bright solution if crucial HTTP headers like
 "Content-Length" or "Transfer-Encoding" are last and get ignored.

 In general, it is highly suspect to randomly ignore HTTP headers,
 as opposed to deliberately ignoring them, either by having first
 looked at them and found them uninteresting, or by having looked
 for the headers we care about, and having not matched some others.

 Change too many headers to firm error condition: 400 if from the
 client, and 503 (like every other trouble) if from the backend.

 Fixes #416

Ticket URL: <http://varnish.projects.linpro.no/ticket/416#comment:5>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list