]> 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:06:43 +0000 (21:06 +0100)
commit00e8bfcdfcb004c7585125b4dddd1de8dcf142ae
treebe911ac3f9b891608bd2a7c5152f041bf3d644d3
parentd7d0289dd6393b25904c1055415fdbd3130f99d5
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.

(cherry picked from commit 2ae84702ad0482cbbd5da4113b47d63b23ffe386)
lib/isc/netmgr/tcp.c
lib/isc/netmgr/tcpdns.c