[Varnish] #594: ESI from Apache2 backend with mod_deflate returns No ESI processing, first char not ‘< '
Varnish
varnish-bugs at projects.linpro.no
Wed Dec 2 08:53:16 CET 2009
#594: ESI from Apache2 backend with mod_deflate returns No ESI processing, first
char not ‘< '
----------------------+-----------------------------------------------------
Reporter: cd34 | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone:
Component: varnishd | Version: 2.0
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
Varnish 2.0.3/2.0.4/2.0.5
Debian GNU 3.1/Testing
Apache2.2.14
When using Varnish with esi includes, if the backend has mod_deflate
enabled, the ESI include request appears to have the request sent through
with Accept-Encoding: gzip,deflate (or whatever the browser requesting the
page that contains the esi:include has sent)
Temporarily disabling mod_deflate allows ESI to work correctly. Setting
-p esi_syntax=0x1 on the command line doesn't appear to work either. If I
leave mod_deflate on, and do the request manually without Accept-Encode,
the ESI include works.
I believe eliminating the Accept-Encoding header from the request when
doing an ESI include would probably fix the issue.
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/594>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list