[4.0] 9aa6eef Fix up req.esi to only be available in client context.

Martin Blix Grydeland martin at varnish-software.com
Tue Jun 24 11:31:40 CEST 2014


commit 9aa6eef5b2f37f2197ff70bb41e74705b83f80eb
Author: Martin Blix Grydeland <martin at varnish-software.com>
Date:   Wed Apr 30 15:59:12 2014 +0200

    Fix up req.esi to only be available in client context.
    
    Fixes: #1489
    Spotted by: xcir

diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index ace50e6..57f22ca 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -254,8 +254,8 @@ sp_variables = [
 	),
 	('req.esi',
 		'BOOL',
-		( 'recv', 'backend_response', 'deliver', 'synth',),
-		( 'recv', 'backend_response', 'deliver', 'synth',), """
+		( 'client',),
+		( 'client',), """
 		Boolean. Set to false to disable ESI processing
 		regardless of any value in beresp.do_esi. Defaults
 		to true. This variable is subject to change in



More information about the varnish-commit mailing list