[master] c91c1c3 Expand access to req.backend_hint

Lasse Karstensen lkarsten at varnish-software.com
Wed Apr 9 13:49:40 CEST 2014


commit c91c1c3ef677b2247d589c5df94e5b4db7f7e25d
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Wed Apr 9 13:47:14 2014 +0200

    Expand access to req.backend_hint
    
    We need req.backend_hint in vcl_hit to enable different
    grace times depending on backend health.

diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 06ed058..ace50e6 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -271,11 +271,9 @@ sp_variables = [
 	),
 	('req.backend_hint',
 		'BACKEND',
-		( 'recv',),
-		( 'recv',), """
+		( 'client', ),
+		( 'client',), """
 		Set bereq.backend to this if we attempt to fetch.
-		This variable is a convenience so the overall
-		policy can be set up once and for all in vcl_recv{}.
 		"""
 	),
 	('req.hash_ignore_busy',



More information about the varnish-commit mailing list