mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
2386. [bug] Add warning about too small 'open files' limit
[RT #18269].
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: socket.c,v 1.286 2008/07/03 00:13:25 each Exp $ */
|
||||
/* $Id: socket.c,v 1.287 2008/07/11 23:05:46 jinmei Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -3489,6 +3489,16 @@ free_manager:
|
||||
return (result);
|
||||
}
|
||||
|
||||
isc_result_t
|
||||
isc_socketmgr_getmaxsockets(isc_socketmgr_t *manager, unsigned int *nsockp) {
|
||||
REQUIRE(VALID_MANAGER(manager));
|
||||
REQUIRE(nsockp != NULL);
|
||||
|
||||
*nsockp = manager->maxsocks;
|
||||
|
||||
return (ISC_R_SUCCESS);
|
||||
}
|
||||
|
||||
void
|
||||
isc_socketmgr_destroy(isc_socketmgr_t **managerp) {
|
||||
isc_socketmgr_t *manager;
|
||||
|
Reference in New Issue
Block a user