From: Wouter Wijngaards Date: Tue, 16 Sep 2014 13:49:21 +0000 (+0000) Subject: - Updated the TCP_BACLOG from 5 to 256, so that the tcp accept queue X-Git-Tag: release-1.5.0rc1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1294a93cd83a6deb742391dfa60c74b23645c9f;p=thirdparty%2Funbound.git - Updated the TCP_BACLOG from 5 to 256, so that the tcp accept queue is longer and more tcp connections can be handled. git-svn-id: file:///svn/unbound/trunk@3224 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index bd90bb4ee..79bec5c91 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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. diff --git a/services/listen_dnsport.c b/services/listen_dnsport.c index b339eaac0..b7ffb6d3f 100644 --- a/services/listen_dnsport.c +++ b/services/listen_dnsport.c @@ -57,7 +57,7 @@ #include /** number of queued TCP connections for listen() */ -#define TCP_BACKLOG 5 +#define TCP_BACKLOG 256 /** * Debug print of the getaddrinfo returned address.