mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Limit TCP connection quota logging to 1/s
This commit is contained in:
committed by
Witold Krecicki
parent
fc9e2276ca
commit
fc9792eae8
@@ -719,7 +719,9 @@ nmsocket_cleanup(isc_nmsocket_t *sock, bool dofree) {
|
||||
if (!atomic_load(&sock->children[i].destroying)) {
|
||||
nmsocket_cleanup(&sock->children[i], false);
|
||||
if (sock->statsindex != NULL) {
|
||||
isc__nm_decstats(sock->mgr, sock->statsindex[STATID_ACTIVE]);
|
||||
isc__nm_decstats(
|
||||
sock->mgr,
|
||||
sock->statsindex[STATID_ACTIVE]);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -733,7 +735,7 @@ nmsocket_cleanup(isc_nmsocket_t *sock, bool dofree) {
|
||||
sock->nchildren = 0;
|
||||
}
|
||||
if (sock->statsindex != NULL) {
|
||||
isc__nm_decstats(sock->mgr, sock->statsindex[STATID_ACTIVE]);
|
||||
isc__nm_decstats(sock->mgr, sock->statsindex[STATID_ACTIVE]);
|
||||
}
|
||||
|
||||
if (sock->tcphandle != NULL) {
|
||||
|
Reference in New Issue
Block a user