[master] d2d9ddb Don't much about with req.* in vcl_backend_response{}

Poul-Henning Kamp phk at varnish-cache.org
Sat May 4 14:45:28 CEST 2013


commit d2d9ddb4e9fecf43330c708d86162ad126330220
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sat May 4 12:33:55 2013 +0000

    Don't much about with req.* in vcl_backend_response{}

diff --git a/bin/varnishtest/tests/e00016.vtc b/bin/varnishtest/tests/e00016.vtc
index 44f7d6a..3871915 100644
--- a/bin/varnishtest/tests/e00016.vtc
+++ b/bin/varnishtest/tests/e00016.vtc
@@ -28,11 +28,13 @@ server s1 {
 
 varnish v1 -vcl+backend {
 	sub vcl_backend_response {
+		set beresp.do_esi = true;
+	}
+	sub vcl_deliver {
  	    	set req.esi = true;	
 	    	if(req.url == "/body") {
 		   set req.esi = false;
 		} 
-		set beresp.do_esi = true;
 	}
 } -start
 



More information about the varnish-commit mailing list