[master] 5e2b0d8 If gzip support is off, we still need to esi process

Nils Goroll nils.goroll at uplex.de
Thu Mar 15 15:38:09 UTC 2018


commit 5e2b0d8abda18e807b73ed2f6c0746688001e85b
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Thu Mar 15 16:30:38 2018 +0100

    If gzip support is off, we still need to esi process
    
    Ref: #2610 with another thank you to @fgsch

diff --git a/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index 9de528b..eb906b8 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -531,10 +531,8 @@ vbf_figure_out_vfp(struct busyobj *bo)
 		return (0);
 	}
 
-	if (! cache_param->http_gzip_support) {
+	if (! cache_param->http_gzip_support)
 		bo->do_gzip = bo->do_gunzip = 0;
-		return (0);
-	}
 
 	/* No body -> done */
 	if (bo->htc->body_status == BS_NONE ||


More information about the varnish-commit mailing list