• Poul-Henning Kamp's avatar
    Add the vfp_testgzip which verifies that gzip'ed data are · df48e70a
    Poul-Henning Kamp authored
    indeed gzip'ed data and extracts the magic bits should it ever
    be included from ESI.
    
    In general Varnish is not in the business of inspecting content
    and with the exception of ESI we still do not do so.
    
    What we do here is make sure that we do not serve corrupt data,
    in the same sense as we bail out on chunked encoding trouble or
    HTTP header trouble from the backend.
    df48e70a
cache_gzip.c 12.2 KB