[master] c9b32e1 lift artificial limits on read access to request attributes

Nils Goroll nils.goroll at uplex.de
Tue Nov 7 11:29:05 UTC 2017


commit c9b32e15248213ab2d17a3d558acfd12c118dc66
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Oct 2 16:03:41 2017 +0200

    lift artificial limits on read access to request attributes
    
    I see absolutely no reason why we shouldn't allow read access outside
    vcl_recv
    
    Merges #2447

diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 2ff3857..bfd4251 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -270,7 +270,7 @@ sp_variables = [
 	),
 	('req.storage',
 		'STEVEDORE',
-		('recv',),
+		('client',),
 		('recv',), """
 		The storage backend to use to save this request body.
 		"""
@@ -336,7 +336,7 @@ sp_variables = [
 	),
 	('req.hash_ignore_busy',
 		'BOOL',
-		('recv',),
+		('client',),
 		('recv',), """
 		Ignore any busy object during cache lookup. You
 		would want to do this if you have two server looking
@@ -345,7 +345,7 @@ sp_variables = [
 	),
 	('req.hash_always_miss',
 		'BOOL',
-		('recv',),
+		('client',),
 		('recv',), """
 		Force a cache miss for this request. If set to true
 		Varnish will disregard any existing objects and


More information about the varnish-commit mailing list