--------
In message <CAJV_h0bfQstBU=hQ60=hdhayp8agwvhrx30_obdq10sp4r1...@mail.gmail.com>
, Federico Schwindt writes:
>Does this mean that doing it in vfp_gzip_init() or cache_gzip.c would be
>appropriate or preferred?
I probably lost context for "it" here :-)
But if you look in -trunk, you'll see for instance vfp_gzip_init()
doing:
if (vfe->vfp->priv2 == VFP_GUNZIP || vfe->vfp->priv2 == VFP_GZIP) {
http_Unset(vc->http, H_Content_Encoding);
http_Unset(vc->http, H_Content_Length);
RFC2616_Weaken_Etag(vc->http);
}
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[email protected] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev