[Varnish] #495: HTTP/1.0 or 'Connection: closed' backend race condition

Varnish varnish-bugs at projects.linpro.no
Sat Nov 21 01:47:25 CET 2009


#495: HTTP/1.0 or 'Connection: closed' backend race condition
----------------------+-----------------------------------------------------
 Reporter:  cra       |        Owner:  phk  
     Type:  defect    |       Status:  new  
 Priority:  low       |    Milestone:       
Component:  varnishd  |      Version:  trunk
 Severity:  normal    |   Resolution:       
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by niallohiggins):

 Replying to [comment:14 niallohiggins]:

 Correction to my above comment:

 Of course, it should only happen if Connection: is not keep-alive AND
 protocol is < 1.1, so above diff needs an extra condition, something like:

 (hp->protover < 1.1 && !http_HdrIs(hp, H_Connection, "keep-alive"))

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/495#comment:15>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list