]> git.ipfire.org Git - thirdparty/bind9.git/commit
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)
commita8e0a695c48586fde3bbe9ffe2c9de0c168a4338
tree12ff627c7e71909987cb0f3059a8a99f6c6bb42a
parent53734b6845157f65ffff9025ef0e79e8f2f8cbe6
parent7c5678bb03ac1fe8484ca72203b035cd16a0a635
fix: dev: Split and simplify the use of EDE list implementation

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