Duplicated Content-Length headers on pass

Tollef Fog Heen tfheen at varnish-software.com
Wed Oct 27 12:54:42 CEST 2010


]] Mikhail Mazursky 

Hi,

| 2010/10/26 Tollef Fog Heen <tfheen at varnish-software.com>:
| >
| > 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;
| >    }
| >  }
| That workaround don't work for me. Piece of my VCL:

Can you please provide varnishlog showing that we're sending out a
duplicated Content-Length header?

Regards,
-- 
Tollef Fog Heen
Varnish Software
t: +47 21 98 62 64




More information about the varnish-misc mailing list