[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 3 23:30:31 CET 2010
#641: client requests http/1.1, backend is http/1.0 conflicts with transfer-
encoding
-------------------+--------------------------------------------------------
Reporter: dugan | Type: defect
Status: new | Priority: normal
Milestone: | Component: build
Version: trunk | Severity: normal
Keywords: |
-------------------+--------------------------------------------------------
If I make a 1.1 request I get back a 1.0 response back with chunked
transfer encoding, which is illegal. Sending a 1.0 request disables
chunked encoding and thus works fine.
{{{
curl -I http://localhost
HTTP/1.0 200 OK
Server: WSGIServer/0.1 Python/2.5.4
Expires: Wed, 03 Feb 2010 22:36:40 GMT
Vary: Cookie
Last-Modified: Wed, 03 Feb 2010 22:26:40 GMT
ETag: "4c74c849522231611b0205d0e25b73e1"
Cache-Control: max-age=600
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Date: Wed, 03 Feb 2010 22:26:50 GMT
X-Varnish: 988210263 988210261
Age: 10
Via: 1.1 varnish
Connection: keep-alive
}}}
{{{
curl -0 -I http://localhost
HTTP/1.0 200 OK
Server: WSGIServer/0.1 Python/2.5.4
Expires: Wed, 03 Feb 2010 22:36:40 GMT
Vary: Cookie
Last-Modified: Wed, 03 Feb 2010 22:26:40 GMT
ETag: "4c74c849522231611b0205d0e25b73e1"
Cache-Control: max-age=600
Content-Type: text/html; charset=utf-8
Date: Wed, 03 Feb 2010 22:28:15 GMT
X-Varnish: 988210264 988210261
Age: 95
Via: 1.1 varnish
Connection: close
}}}
--
Ticket URL: <http://varnish-cache.org/ticket/641>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list