]> git.ipfire.org Git - thirdparty/bind9.git/commit
Don't skip the counting if fcount_incr() is called with force==true
authorOndřej Surý <ondrej@isc.org>
Thu, 20 Jun 2024 16:59:56 +0000 (18:59 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 5 Aug 2024 09:40:25 +0000 (09:40 +0000)
commit6df4fa58fd5460d0e4ec41bd571e2bddf23baa92
treefe3ed11a16667b0ec8afa47e26fceae6dcbff4dd
parent46caf5f4a4522d42480aee4d5949ea9546f98c2f
Don't skip the counting if fcount_incr() is called with force==true

The fcount_incr() was incorrectly skipping the accounting for the
fetches-per-zone if the force argument was set to true.  We want to skip
the accounting only when the fetches-per-zone is completely disabled,
but for individual names we need to do the accounting even if we are
forcing the result to be success.

(cherry picked from commit a513d4c07f13224eccaaf355046bd41e85e11b81)
lib/dns/resolver.c