Duplicated Content-Length headers on pass
Tollef Fog Heen
tfheen at varnish-software.com
Tue Oct 26 09:43:51 CEST 2010
Hi all,
it seems like a small, but pesky bug snuck its way into 2.1.4, in which
you might see duplicated Content-Length headers when using pass.
As a workaround for this, I believe doing
sub vcl_fetch {
if (req.request != "HEAD") {
unset beresp.http.content-length;
}
}
should work, or you can use the patch from
http://www.varnish-cache.org/trac/changeset/5461
This will also hit the 2.1 SVN branch in a few minutes.
Feedback on whether this bug poses a real-world problem for people or
not would be most welcome.
Regards,
--
Tollef Fog Heen
Varnish Software
t: +47 21 98 62 64
More information about the varnish-misc
mailing list