2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

1071. [bug] Sockets listening for TCP DNS connections

specified an excessive listen backlog. [RT #1937]
This commit is contained in:
Andreas Gustafsson
2001-10-25 00:12:07 +00:00
parent 75063dd6d2
commit 3d38596530
2 changed files with 5 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
1071. [bug] Sockets listening for TCP DNS connections
specified an excessive listen backlog.<2E>[RT #1937]
1070. [bug] Copy DNSSEC OK (DO) to response as specified by 1070. [bug] Copy DNSSEC OK (DO) to response as specified by
draft-ietf-dnsext-dnssec-okbit-03.txt. draft-ietf-dnsext-dnssec-okbit-03.txt.

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * 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 <config.h> #include <config.h>
@@ -301,7 +301,7 @@ ns_interface_accepttcp(ns_interface_t *ifp) {
isc_result_totext(result)); isc_result_totext(result));
goto tcp_bind_failure; goto tcp_bind_failure;
} }
result = isc_socket_listen(ifp->tcpsocket, 0); result = isc_socket_listen(ifp->tcpsocket, 3);
if (result != ISC_R_SUCCESS) { if (result != ISC_R_SUCCESS) {
isc_log_write(IFMGR_COMMON_LOGARGS, ISC_LOG_ERROR, isc_log_write(IFMGR_COMMON_LOGARGS, ISC_LOG_ERROR,
"listening on TCP socket: %s", "listening on TCP socket: %s",