Commit 1eca8a81 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Deeper listenqueue for HTTP sockets


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@827 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 0f92fc3a
......@@ -129,7 +129,7 @@ open_tcp(const char *port, int http)
close(sd);
return (-1);
}
if (listen(sd, 16) != 0) {
if (listen(sd, http ? 1024 : 16) != 0) {
perror("listen()");
freeaddrinfo(res);
close(sd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment