PATCH: vary on gzip

Federico Schwindt fgsch at
Tue Aug 26 13:52:06 CEST 2014

Does this mean that doing it in vfp_gzip_init() or cache_gzip.c would be
appropriate or preferred?

On Tue, Aug 26, 2014 at 12:49 PM, Poul-Henning Kamp <phk at>

> --------
> In message <53FC7229.4010109 at>, Nils Goroll writes:
> >On 26/08/14 12:46, Nils Goroll wrote:
> >> But I think this needs to live in fetch (before calling v_b_r)
> >
> >After further discussion, it became clear that vfp_gzip_init or at least
> some
> >code in cache_gzip.c could be an even better place.
> The intent is that VFP's become self-contained entities so that
> for instance GZIP/GUNZIP and TESTGUNZIP will use their init-> functions
> to mangle headers as appropriate.
> We're not *quite* there yet, and there is a complication in relation
> to how we mangle IMS-fetched objects headers which I have not found
> a good solution to yet.
> As always: if you spot any wrong behaviour, by all means tell me!
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-dev mailing list