From 1d77be00c4a686ab3bde3b2bcc41b583dd637053 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 8 Sep 2008 05:30:35 +0000 Subject: [PATCH] default maxsockets to 0 --- lib/isc/win32/socket.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/isc/win32/socket.c b/lib/isc/win32/socket.c index ddcb91baae..22cadd1439 100644 --- a/lib/isc/win32/socket.c +++ b/lib/isc/win32/socket.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: socket.c,v 1.67 2008/09/04 05:56:43 marka Exp $ */ +/* $Id: socket.c,v 1.68 2008/09/08 05:30:35 marka Exp $ */ /* This code has been rewritten to take advantage of Windows Sockets * I/O Completion Ports and Events. I/O Completion Ports is ONLY @@ -2906,12 +2906,12 @@ event_wait(void *uap) { */ isc_result_t isc_socketmgr_create(isc_mem_t *mctx, isc_socketmgr_t **managerp) { - return (isc_socketmgr_create2(mctx, managerp, maxsocks)); + return (isc_socketmgr_create2(mctx, managerp, 0)); } isc_result_t isc_socketmgr_create2(isc_mem_t *mctx, isc_socketmgr_t **managerp, - unsigned int maxsocks) + unsigned int maxsocks) { isc_socketmgr_t *manager; events_thread_t *evthread = NULL;