]> git.ipfire.org Git - thirdparty/bind9.git/commit
Enable lame response detection even with disabled lame cache
authorOndřej Surý <ondrej@sury.org>
Fri, 24 Sep 2021 07:48:50 +0000 (09:48 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 28 Oct 2021 10:44:12 +0000 (12:44 +0200)
commitb01862e8cd5edb30bb86f4cfb5028a0b77cc3e15
tree43175fe31295fec84383930c72ff5ac51c946d45
parent1f8570671195b910c9ac60e54e4491fef529fa8f
Enable lame response detection even with disabled lame cache

Previously, when lame cache would be disabled by setting lame-ttl to 0,
it would also disable lame answer detection.  In this commit, we enable
the lame response detection even when the lame cache is disabled.  This
enables stopping answer processing early rather than going through the
whole answer processing flow.
lib/dns/resolver.c