Mailing List Archive

r827 - trunk/varnish-cache/bin/varnishd
Author: phk
Date: 2006-08-18 18:04:42 +0200 (Fri, 18 Aug 2006)
New Revision: 827

Modified:
trunk/varnish-cache/bin/varnishd/tcp.c
Log:
Deeper listenqueue for HTTP sockets


Modified: trunk/varnish-cache/bin/varnishd/tcp.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/tcp.c 2006-08-15 10:38:20 UTC (rev 826)
+++ trunk/varnish-cache/bin/varnishd/tcp.c 2006-08-18 16:04:42 UTC (rev 827)
@@ -129,7 +129,7 @@
close(sd);
return (-1);
}
- if (listen(sd, 16) != 0) {
+ if (listen(sd, http ? 1024 : 16) != 0) {
perror("listen()");
freeaddrinfo(res);
close(sd);