]> git.ipfire.org Git - thirdparty/bind9.git/commit
Allow ResponseHandlers to roll back changes made to a response
authorŠtěpán Balážik <stepan@isc.org>
Wed, 12 Nov 2025 15:19:25 +0000 (16:19 +0100)
committerŠtěpán Balážik (GitLab job 6645047) <stepan@isc.org>
Thu, 18 Dec 2025 12:50:57 +0000 (12:50 +0000)
commite92a7c9226fc429fc52a7a2bcd2978e44993464f
treef00bf33a7c71b3fa20d6cac565da43df118cdefe
parentb323b517f1cee106f2790c8ad4dae881c17a0038
Allow ResponseHandlers to roll back changes made to a response

Previously, this was only possible by making a new response by calling
make_response on qctx.query. This however ignored the `default_aa` and
`default_rcode` parameters of AsyncDnsServer.

Add prepare_new_response and save_initialized_response methods to
QueryContext.

(cherry picked from commit 5384998ccdd5b6dc57e6821cd4c8b91039c3d8a3)
bin/tests/system/isctest/asyncserver.py