]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: dev: Split and simplify the use of EDE list implementation
authorOndřej Surý <ondrej@isc.org>
Thu, 30 Jan 2025 11:29:53 +0000 (11:29 +0000)
committerOndřej Surý <ondrej@isc.org>
Thu, 30 Jan 2025 11:29:53 +0000 (11:29 +0000)
Instead of mixing the dns_resolver and dns_validator units directly with
the EDE code, split-out the dns_ede functionality into own separate
compilation unit and hide the implementation details behind abstraction.

Additionally, the new dns_edelist_t doesn't have to be copied into all
responses as those are attached to the fetch context, but it could be
only passed by reference.

This makes the dns_ede implementation simpler to use, although sligtly
more complicated on the inside.

Closes #5141

Merge branch '5141-ede-mem-fix-v2' into 'main'

See merge request isc-projects/bind9!10016


Trivial merge