]> 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 <stepan@isc.org>
Thu, 18 Dec 2025 12:13:59 +0000 (13:13 +0100)
commit5384998ccdd5b6dc57e6821cd4c8b91039c3d8a3
treeb4e9e0b3132adfe4fe76b42239bdccea86a6f446
parentde266fff4cf5b76b06ac71ea39fbdc91ebba80b4
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.
bin/tests/system/isctest/asyncserver.py