[6.0] 5b7a0ca50 Force haproxy onto "localhost" addresses, to make it possible to match syslog-output.
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Thu Aug 16 08:53:04 UTC 2018
commit 5b7a0ca506d5a4b0712c4199dda1fc54f6079998
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue May 29 16:00:21 2018 +0000
Force haproxy onto "localhost" addresses, to make it possible to
match syslog-output.
diff --git a/bin/varnishtest/vtc_haproxy.c b/bin/varnishtest/vtc_haproxy.c
index 88162a951..3cc12fe28 100644
--- a/bin/varnishtest/vtc_haproxy.c
+++ b/bin/varnishtest/vtc_haproxy.c
@@ -389,7 +389,7 @@ haproxy_build_backends(const struct haproxy *h, const char *vsb_data)
break;
*q++ = '\0';
- sock = VTCP_listen_on(":0", NULL, 1, &err);
+ sock = VTCP_listen_on("localhost:0", NULL, 1, &err);
if (err != NULL)
vtc_fatal(h->vl,
"Create listen socket failed: %s", err);
More information about the varnish-commit
mailing list