[6.0] 119a058f1 Increase listen-depth to 100

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Thu Aug 16 08:53:19 UTC 2018


commit 119a058f14b272ebef2ee400bd21b8b7fde149e1
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