]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] fix: dev: Split and simplify the use of EDE list implementation
authorColin Vidal <colin@isc.org>
Thu, 30 Jan 2025 13:12:16 +0000 (13:12 +0000)
committerColin Vidal <colin@isc.org>
Thu, 30 Jan 2025 13:12:16 +0000 (13:12 +0000)
commit23a9bed310bf279661242617ea64dd076bec7633
treeb5b1b9bcca55fb40136d471cc5d8a85e1c8ba352
parent77c4107bcdb03c34a7dd8e0c51034cfcefed06e8
parent7b04c801837be18879b392de6269fc425270dc8e
[9.20] 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

Backport of MR !10016

Merge branch 'backport-5141-ede-mem-fix-v2-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10030