bind9/tests
Alessio Podda 46e25bd0db Remove maybe_set_name
Outside of unit tests, the name parameter in dns_qpiter_<...> and
dns_qpchain_<...> is only used in context where the name can be
extracted directly from the underlying node.

This commits modifies the signatures of dns_qpiter_<...> and
dns_qpchain_<...> not to have a name parameter. Where the name parameter
was needed, we now query the node and copy the name directly from it.

This allows us to remove maybe_set_name from qp.c. Besides simplifying
the API, this leads to a performance speedup for NXDOMAIN handling,
as we avoid calling maybe_set_name inside step, and maybe_set_name is
very inefficient.

A copy of the implementation maybe_set_name is retained for the unit
tests.
2025-12-10 11:28:10 +01:00
..
bench Remove maybe_set_name 2025-12-10 11:28:10 +01:00
dns Remove maybe_set_name 2025-12-10 11:28:10 +01:00
include/tests Use clang-format-21 to update formatting 2025-10-21 09:34:29 +02:00
isc Disable 'doh' unit test on Enterprise Linux 8 2025-11-25 10:55:03 +01:00
isccfg shrunk cfgobj down to 48bytes 2025-12-05 08:59:53 +01:00
libtest switch to RETERR where it wasn't being used 2025-12-03 13:45:43 -08:00
ns fix hookasyncctx renaming 2025-09-28 22:41:32 +02:00
.gitignore Move all the unit tests to /tests/<libname>/ 2022-05-28 14:53:02 -07:00
meson.build replace the build system with meson 2025-06-11 10:30:12 +03:00