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

Reply via email to