]> 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>
Mon, 11 Oct 2021 11:23:25 +0000 (13:23 +0200)
commitb4088e11eebf944a66d489b353d892004306a65f
tree20babde2cc22fdf31fc5c0b70f6ff0033c871978
parent201f887065e34949fc9f72d5d41ae293cd299800
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