]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix the fetches-per-server quota calculation
authorEvan Hunt <each@isc.org>
Thu, 5 May 2022 00:27:56 +0000 (17:27 -0700)
committerEvan Hunt <each@isc.org>
Sat, 14 May 2022 07:43:17 +0000 (00:43 -0700)
commitbca7f195413c0e933d8aa441b621fbbf3535fbc4
treea9e896997ac8bc6c4be3f4e75d0108e2c7e323ea
parenteaf5745554ea84166e84667caf58f2ba253d60e0
Fix the fetches-per-server quota calculation

Since commit bad5a523c2e, when the fetches-per-server quota
was increased or decreased, instead of the value being set to
the newly calculated quota, it was set to the *minimum* of
the new quota or 1 - which effectively meant it was always set to 1.
it should instead have been the maximum, to prevent the value from
ever dropping to zero.

(cherry picked from commit 694bc50273ddc01c571dd917415d24b42ca39de8)
lib/dns/adb.c