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

default maxsockets to 0

This commit is contained in:
Mark Andrews
2008-09-08 05:30:35 +00:00
parent ab31c5b251
commit 1d77be00c4

View File

@@ -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;