[Varnish] #524: esi + keepalive + HTTP/1.0 hangs untill sess_timeout
Varnish
varnish-bugs at projects.linpro.no
Tue Jun 23 13:37:30 CEST 2009
#524: esi + keepalive + HTTP/1.0 hangs untill sess_timeout
----------------------+-----------------------------------------------------
Reporter: nicholas | Type: defect
Status: new | Priority: normal
Milestone: | Component: build
Version: trunk | Severity: normal
Keywords: |
----------------------+-----------------------------------------------------
When using HTTP/1.0 clients like wget or ab to test an esi parsed page,
the client hangs untill keepalive times out (sess_timeout, default 5s). No
closing tcp flags after the content is sent, no tcp traffic in the
interval. Varnish closes the connection after 5s with FIN, ACK.
With esi parsing on we se no Content-Length header, which we guess is by
design.
Both ab and wget uses HTTP/1.0.
wget --no-http-keep-alive works like expected.
wget --ignore-length works like expected.
HTTP/1.1 clients work as expected.
skarven:~# varnishd -V
varnishd (varnish-2.0.4)
Copyright (c) 2006-2009 Linpro AS / Verdens Gang AS
skarven:~# rpm -qa | grep varnish
varnish-2.0.4-1.el5
varnish-libs-2.0.4-1.el5
Shout for more details or testing.
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/524>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list