]> git.ipfire.org Git - thirdparty/bind9.git/commit
Optimize cname_and_other_data to stop as earliest as possible
authorOndřej Surý <ondrej@isc.org>
Mon, 29 Jan 2024 15:36:30 +0000 (16:36 +0100)
committerOndřej Surý <ondrej@isc.org>
Thu, 8 Feb 2024 07:33:36 +0000 (08:33 +0100)
commit3f774c2a8ac46b2bbf1b3a4fa1d8d8c3ed3d78a9
tree4efa55fd92d30b0695f3904ca03c991f025bcd90
parent3ac482be7fd058d284e89873021339579fad0615
Optimize cname_and_other_data to stop as earliest as possible

Stop the cname_and_other_data processing if we already know that the
result is true.  Also, we know that CNAME will be placed in the priority
headers, so we can stop looking for CNAME if we haven't found CNAME and
we are past the priority headers.
bin/tests/system/resolver/tests.sh
lib/dns/rbtdb.c