]> git.ipfire.org Git - thirdparty/bind9.git/commit
rename NS_QUERY_RESET to NS_QUERY_CLEANUP
authorEvan Hunt <each@isc.org>
Wed, 10 Sep 2025 21:15:57 +0000 (14:15 -0700)
committerEvan Hunt <each@isc.org>
Thu, 11 Sep 2025 00:46:53 +0000 (17:46 -0700)
commit0cdcc8a8f444160ec991bdeee5b1e647cb09e51d
tree9339203ba6b6962cb37202d67a7fd516963a2796
parentb6a292b03f765d1599bbdb2f138d0d35f771a030
rename NS_QUERY_RESET to NS_QUERY_CLEANUP

query_reset() is called during query initialization, but the only
time the NS_QUERY_SETUP hook runs is when it's called from
query_cleanup().  it makes more sense to move the hook point to
there and rename it to NS_QUERY_CLEANUP.

this change caused a crash in the unit tests due to the view being
unnecessarily detached before ns__client_reset_cb() was called.
this has also been fixed.
bin/plugins/filter-a.c
bin/plugins/filter-aaaa.c
bin/tests/system/hooks/driver/test-async.c
lib/ns/client.c
lib/ns/include/ns/hooks.h
lib/ns/query.c
tests/ns/netmgr_wrap.c