• Poul-Henning Kamp's avatar
    Flesh out the gzip and gunzip fetch processors. · 1d984c34
    Poul-Henning Kamp authored
    Now you can get varnish to gzip or gunzip objects as they are
    received from the backend by setting
    
    	sub vcl_fetch {
    		beresp.do_gzip = true;
    		beresp.do_guzip = true;
    	}
    
    They will only do something if the object is/isn't gzip'ed already
    (according to the beresp.http.Content-Encoding header) so the above
    silly-ish example will compress al uncompressed objects and decompress
    all compressed objects.
    
    NB: Lots of errorchecks not implemented yet.
    
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5715 d4fa192b-c00b-0410-8231-f00ffab90ce4
    1d984c34
Name
Last commit
Last update
..
tests Loading commit data...
Makefile.am Loading commit data...
Makefile.kristian Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
vtc.c Loading commit data...
vtc.h Loading commit data...
vtc_client.c Loading commit data...
vtc_http.c Loading commit data...
vtc_log.c Loading commit data...
vtc_main.c Loading commit data...
vtc_sema.c Loading commit data...
vtc_server.c Loading commit data...
vtc_varnish.c Loading commit data...