2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

reasonable default values for client quotas

This commit is contained in:
Andreas Gustafsson
2000-01-13 21:17:08 +00:00
parent 45dadd25ba
commit 0084a7ed9c

View File

@@ -648,12 +648,11 @@ ns_server_create(isc_mem_t *mctx, ns_server_t **serverp) {
server->recursionacl = NULL; server->recursionacl = NULL;
server->transferacl = NULL; server->transferacl = NULL;
/* XXX these values are for debugging only */ result = isc_quota_init(&server->xfroutquota, 10);
result = isc_quota_init(&server->xfroutquota, 1);
RUNTIME_CHECK(result == ISC_R_SUCCESS); RUNTIME_CHECK(result == ISC_R_SUCCESS);
result = isc_quota_init(&server->tcpquota, 3); result = isc_quota_init(&server->tcpquota, 10);
RUNTIME_CHECK(result == ISC_R_SUCCESS); RUNTIME_CHECK(result == ISC_R_SUCCESS);
result = isc_quota_init(&server->recursionquota, 1); result = isc_quota_init(&server->recursionquota, 100);
RUNTIME_CHECK(result == ISC_R_SUCCESS); RUNTIME_CHECK(result == ISC_R_SUCCESS);
/* Initialize server data structures. */ /* Initialize server data structures. */