]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor the search in qpcache_findrdataset()
authorOndřej Surý <ondrej@isc.org>
Sun, 2 Feb 2025 19:22:29 +0000 (20:22 +0100)
committerEvan Hunt <each@isc.org>
Tue, 18 Feb 2025 20:15:00 +0000 (20:15 +0000)
commitbfb219ac2dcaf5fe47464e9176d1368cafbaeaf9
tree27d9219407f5d5b8d1bc2b8f4ccc6499ba111891
parentcf66ba02a4a46a641eb775277280030baf87ca93
Refactor the search in qpcache_findrdataset()

Add new related_headers() function that simplifies the code
flow in qpcache_findrdataset().  Also use check_stale_header() function
to remove code duplication.
lib/dns/qpcache.c