PATCH: vary on gzip

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Aug 26 13:49:27 CEST 2014


--------
In message <53FC7229.4010109 at schokola.de>, 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.



More information about the varnish-dev mailing list