[master] 8d8e109d5 Increase listen-depth to 100

Poul-Henning Kamp phk at FreeBSD.org
Tue Jul 17 09:32:12 UTC 2018


commit 8d8e109d5bf65a4537cd06da28e696d91a0baec1
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Jul 17 09:30:34 2018 +0000

    Increase listen-depth to 100
    
    Submitted by:   Frederic Lecaille <flecaille at haproxy.com>

diff --git a/bin/varnishtest/vtc_haproxy.c b/bin/varnishtest/vtc_haproxy.c
index 3cc12fe28..2de165031 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("localhost:0", NULL, 1, &err);
+		sock = VTCP_listen_on("localhost:0", NULL, 100, &err);
 		if (err != NULL)
 			vtc_fatal(h->vl,
 			    "Create listen socket failed: %s", err);


More information about the varnish-commit mailing list