]> git.ipfire.org Git - thirdparty/bind9.git/commit
DoH: reduce excessive bad request logging
authorArtem Boldariev <artem@isc.org>
Thu, 18 Jul 2024 17:21:53 +0000 (20:21 +0300)
committerAndoni Duarte Pintado <andoni@isc.org>
Wed, 15 Jan 2025 15:50:13 +0000 (16:50 +0100)
commit550b692343e398e0debe18ddb5908b4ccb183b91
treeee0d57bbdf965390e17ae82ead7629ab929d33a9
parent796708775d178adc5256ce03956d134c9fd38a33
DoH: reduce excessive bad request logging

We started using isc_nm_bad_request() more actively throughout
codebase. In the case of HTTP/2 it can lead to a large count of
useless "Bad Request" messages in the BIND log, as often we attempt to
send such request over effectively finished HTTP/2 sessions.

This commit fixes that.

(cherry picked from commit 937b5f8349a6a5e15af254a53a659e39c7c1d179)
lib/isc/netmgr/http.c