]> git.ipfire.org Git - thirdparty/bind9.git/commit
Make response handler management more flexible
authorMichał Kępień <michal@isc.org>
Fri, 11 Apr 2025 14:14:57 +0000 (09:14 -0500)
committerMichał Kępień <michal@isc.org>
Fri, 11 Apr 2025 14:14:57 +0000 (09:14 -0500)
commit92b072bff4376e02bf1d0cf8bd01b179fbea5358
tree0d8a4bd4c7650041263523b503ff24f83ba815b4
parent8cb51d4c2b79795124b1a9e9e1a08e3008d65260
Make response handler management more flexible

Extend AsyncDnsServer.install_response_handler() so that the provided
response handler can be inserted at the beginning of the handler list.
This enables installing a response handler that takes priority over all
previously installed handlers.

Add a new method, AsyncDnsServer.uninstall_response_handler(), which
enables removing a previously installed response handler.

Together, these two methods provide full control over the response
handler list at runtime.
bin/tests/system/isctest/asyncserver.py