[Varnish] #641: client requests http/1.1, backend is http/1.0 conflicts with transfer-encoding

Varnish varnish-bugs at projects.linpro.no
Wed Feb 10 14:36:21 CET 2010


#641: client requests http/1.1, backend is http/1.0 conflicts with transfer-
encoding
----------------------+-----------------------------------------------------
 Reporter:  dugan     |        Owner:  phk   
     Type:  defect    |       Status:  closed
 Priority:  normal    |    Milestone:        
Component:  varnishd  |      Version:  trunk 
 Severity:  normal    |   Resolution:  fixed 
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by dugan):

 Are you sure?

 Here is the situation one more time:
 Client requests 1.1
 Backend responds with 1.0

 Problem: Varnish returns http 1.0 response to client with transfer-
 encoding set, but transfer-encoding is not part of 1.0 spec.  Firefox thus
 ignores the transfer encoding and displays the chunking data.

 Proposed solution: 1) Varnish should return 1.1 if the client requested
 1.1, even if the server is 1.0.  2) Varnish should avoid using chunked
 transfer-encoding if the client requests 1.0.

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


More information about the varnish-bugs mailing list