[4.1] 0c4c164 beresp.backend.ip is only available while the connection is open, which means not in vcl_backend_error{}

PÃ¥l Hermunn Johansen hermunn at varnish-software.com
Wed Feb 8 10:27:06 CET 2017


commit 0c4c164823244b6042eb9822d1bc8f030dc630f5
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu Feb 2 08:58:05 2017 +0000

    beresp.backend.ip is only available while the connection is open,
    which means not in vcl_backend_error{}
    
    Fixes: #1865
    
    Conflicts:
    	lib/libvcc/generate.py

diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 7c09ba6..4c1645e 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -587,7 +587,7 @@ sp_variables = [
 	),
 	('beresp.backend.ip',
 		'IP',
-		( 'backend_response', 'backend_error'),
+		( 'backend_response', ),
 		( ), """
 		IP of the backend this response was fetched from.
 		"""



More information about the varnish-commit mailing list