]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] fix: dev: Don't skip the counting if fcount_incr() is called with force==true
authorOndřej Surý <ondrej@isc.org>
Mon, 5 Aug 2024 09:40:33 +0000 (09:40 +0000)
committerOndřej Surý <ondrej@isc.org>
Mon, 5 Aug 2024 09:40:33 +0000 (09:40 +0000)
commit9cd2880a82f627bc44ab65fdaa19c2bcd9e61c96
treefe3ed11a16667b0ec8afa47e26fceae6dcbff4dd
parent46caf5f4a4522d42480aee4d5949ea9546f98c2f
parent6df4fa58fd5460d0e4ec41bd571e2bddf23baa92
[9.20] fix: dev: 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.

Backport of https://gitlab.isc.org/isc-projects/bind9/-/merge_requests/9115

Merge branch 'backport-4786-forced-fcount_incr-should-still-increment-count-and-allowed-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!9241