[master] 000819d Cover the execution of the local.ip and remote.ip VRT functions

Poul-Henning Kamp phk at FreeBSD.org
Wed Mar 18 21:05:43 CET 2015


commit 000819d8105dfc5c8f3abb4a02f9bfb61a44f819
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Mar 18 20:05:30 2015 +0000

    Cover the execution of the local.ip and remote.ip VRT functions

diff --git a/bin/varnishtest/tests/v00025.vtc b/bin/varnishtest/tests/v00025.vtc
index ffd622b..fbb0fb8 100644
--- a/bin/varnishtest/tests/v00025.vtc
+++ b/bin/varnishtest/tests/v00025.vtc
@@ -22,6 +22,8 @@ varnish v1 -arg "-i J.F.Nobody" -vcl+backend {
 		set resp.http.esi = req.esi;
 		set resp.http.be = req.backend_hint;
 		set resp.http.c_id = client.identity;
+		set resp.http.l_ip = local.ip;
+		set resp.http.r_ip = remote.ip;
 		if (obj.uncacheable) { }
 	}
 



More information about the varnish-commit mailing list