Hi Hans - I added a reference to this workaround in the bug report. Thanks On Tue, Jul 2, 2013 at 1:45 PM, Hans Schou <[email protected]> wrote: > Hi > > https://www.varnish-cache.org/trac/ticket/1320 > > The error occur when requesting a sub-page in Typo3 like > http://example.org/foo and it is being redirected to http://example.org/foo/ > by typo3 backend. Then Content-Encoding is set to "gzip" and > "Content-Length" is 0. > > I got this error with varnish 3.0.4 and solved it with this (if it could be > to any help). > > if (beresp.http.Content-Encoding ~ "gzip" ) { > if (beresp.http.Content-Length == "0") { > unset beresp.http.Content-Encoding; > } > } > > ...it might be possible to write it more "correct". > > -- > Venlig hilsen > Hans Schou > tel:46923438 > > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
-- Dag Haavi Finstad Software Developer | Varnish Software AS Mobile: +47 476 64 134 | Office: +47 21 98 92 60 We Make Websites Fly! _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
