[master] c62cb71 Don't undef the v1 listen socket macros now that Varnishd persists on using the same ones across restarts.

Poul-Henning Kamp phk at FreeBSD.org
Mon Mar 16 11:42:10 CET 2015


commit c62cb719cdce16fc12a97ca361d319d9a2a27c3e
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Mar 16 10:38:49 2015 +0000

    Don't undef the v1 listen socket macros now that Varnishd persists
    on using the same ones across restarts.

diff --git a/bin/varnishtest/vtc_varnish.c b/bin/varnishtest/vtc_varnish.c
index 1b154b3..95086a9 100644
--- a/bin/varnishtest/vtc_varnish.c
+++ b/bin/varnishtest/vtc_varnish.c
@@ -557,9 +557,6 @@ varnish_stop(struct varnish *v)
 		varnish_launch(v);
 	if (vtc_error)
 		return;
-	macro_undef(v->vl, v->name, "addr");
-	macro_undef(v->vl, v->name, "port");
-	macro_undef(v->vl, v->name, "sock");
 	vtc_log(v->vl, 2, "Stop");
 	(void)varnish_ask_cli(v, "stop", NULL);
 	while (1) {



More information about the varnish-commit mailing list