[Varnish] #624: backend_http11 fails to set HTTP version 1.1 properly

Varnish varnish-bugs at projects.linpro.no
Mon Jan 25 16:36:53 CET 2010

#624: backend_http11 fails to set HTTP version 1.1 properly
 Reporter:  janne     |        Owner:  kristian           
     Type:  defect    |       Status:  assigned           
 Priority:  normal    |    Milestone:  Varnish 2.1 release
Component:  varnishd  |      Version:                     
 Severity:  normal    |   Resolution:                     
 Keywords:            |  
Comment (by janne):

 Yeah, that backend HTTP version mismatch was the first thing I noticed
 when started to debug the problem.

 The backend is running Jetty 6.1.x, and seems to always act as the client
 requests even if it fails to return the proper response string. Requests
 with HTTP/1.1 are served as keep-alive, and without Connection header.
 Requests with HTTP/1.1 + Connection:close are returned with Connection-
 header and closed.

 According the HTTP/1.1 spec (8.1.4) connections may be closed at any
 point, and the client should just take an another connection and retry. If
 Varnish would handle this properly, there would not be any problem with
 Jetty behaving badly.

Ticket URL: <http://varnish-cache.org/ticket/624#comment:3>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list