From 3d38596530c389610494e6a6ba70d9f5dc9717c5 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Thu, 25 Oct 2001 00:12:07 +0000 Subject: [PATCH] 1071. [bug] Sockets listening for TCP DNS connections specified an excessive listen backlog. [RT #1937] --- CHANGES | 3 +++ bin/named/interfacemgr.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index d3ae5fd189..c0bcf04990 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +1071. [bug] Sockets listening for TCP DNS connections + specified an excessive listen backlog. [RT #1937] + 1070. [bug] Copy DNSSEC OK (DO) to response as specified by draft-ietf-dnsext-dnssec-okbit-03.txt. diff --git a/bin/named/interfacemgr.c b/bin/named/interfacemgr.c index 762643004a..84f4fb9dcb 100644 --- a/bin/named/interfacemgr.c +++ b/bin/named/interfacemgr.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: interfacemgr.c,v 1.64 2001/10/22 03:31:24 marka Exp $ */ +/* $Id: interfacemgr.c,v 1.65 2001/10/25 00:12:07 gson Exp $ */ #include @@ -301,7 +301,7 @@ ns_interface_accepttcp(ns_interface_t *ifp) { isc_result_totext(result)); goto tcp_bind_failure; } - result = isc_socket_listen(ifp->tcpsocket, 0); + result = isc_socket_listen(ifp->tcpsocket, 3); if (result != ISC_R_SUCCESS) { isc_log_write(IFMGR_COMMON_LOGARGS, ISC_LOG_ERROR, "listening on TCP socket: %s",