[master] 7347e93 beresp.backend.ip is only available while the connection is open, which means not in vcl_backend_error{}

Poul-Henning Kamp phk at FreeBSD.org
Thu Feb 2 10:01:05 CET 2017


commit 7347e93abca65fe08dec924fce3a2e17b3329923
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

diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index 8e046e5..d4bd61c 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -638,7 +638,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