]> 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:07:13 +0000 (16:07 +0100)
commit50a062e5cec56e228f3783cf24b15b8ffbd343d6
treeca7ee07d36b29f19a7558f0a89caaf0dd85de5ca
parentc53541bfc5003c4bafbee430a7a33c457259f4f6
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