[Varnish] #1109: Gzip+ESI are broken for large included objects
Varnish
varnish-bugs at varnish-cache.org
Tue Mar 20 17:47:37 CET 2012
#1109: Gzip+ESI are broken for large included objects
-----------------------------+----------------------------------------------
Reporter: nimnul | Type: defect
Status: new | Priority: normal
Milestone: Varnish 3.0 dev | Component: varnishd
Version: 3.0.2 | Severity: normal
Keywords: |
-----------------------------+----------------------------------------------
I have the following ESI include file (/esi.js):
{{{
<esi:include src="/foo.js"/>
}}}
varnish config is:
{{{
backend node
{
.host = "...";
.port = "...";
}
sub vcl_recv {
set req.backend = node;
}
sub vcl_fetch {
set beresp.do_gzip = true;
if (bereq.url == "/esi.js")
{
set beresp.do_esi = true;
}
}
}}}
Varnish is set to gzip foo.js and esi.js. It works as expected while
foo.js is small, but starting from approx. 200kB Varnish sends broken gzip
stream (Chrome and zcat either display damaged content or complain about
end of file or invalid stream format errors).
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1109>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list