]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add log message when hard quota is reached in TCP accept
authorOndřej Surý <ondrej@isc.org>
Tue, 1 Feb 2022 17:36:12 +0000 (18:36 +0100)
committerOndřej Surý <ondrej@isc.org>
Tue, 1 Feb 2022 20:00:05 +0000 (21:00 +0100)
commit2ae84702ad0482cbbd5da4113b47d63b23ffe386
tree1b51c5062ea51839e20e25017dd877c7d67f5b85
parent858e522b4e90f1fde2172533262b92a8ec8f0498
Add log message when hard quota is reached in TCP accept

When isc_quota_attach_cb() API returns ISC_R_QUOTA (meaning hard quota
was reached) the accept_connection() would return without logging a
message about quota reached.

Change the connection callback to log the quota reached message.
lib/isc/netmgr/tcp.c
lib/isc/netmgr/tcpdns.c
lib/isc/netmgr/tlsdns.c