]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Updated the TCP_BACLOG from 5 to 256, so that the tcp accept queue
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 16 Sep 2014 13:49:21 +0000 (13:49 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 16 Sep 2014 13:49:21 +0000 (13:49 +0000)
  is longer and more tcp connections can be handled.

git-svn-id: file:///svn/unbound/trunk@3224 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
services/listen_dnsport.c

index bd90bb4eed59582781fb8dae15807dfd2078f0d4..79bec5c9168ebcbfc5b87f9938d65a7be93586ad 100644 (file)
@@ -1,6 +1,8 @@
 16 September 2014: Wouter
        - Fix tcp timer waiting list removal code.
        - iana portlist update.
+       - Updated the TCP_BACLOG from 5 to 256, so that the tcp accept queue
+         is longer and more tcp connections can be handled.
 
 15 September 2014: Wouter
        - Fix unit test for CDS typecode.
index b339eaac09814c67987ec5732365ed4c8629df67..b7ffb6d3fad355eab448e02fae880614e77b83bf 100644 (file)
@@ -57,7 +57,7 @@
 #include <fcntl.h>
 
 /** number of queued TCP connections for listen() */
-#define TCP_BACKLOG 5 
+#define TCP_BACKLOG 256 
 
 /**
  * Debug print of the getaddrinfo returned address.