mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Drop unnecessary qctx.prepare_new_response() call
The ans3 custom server does not have any zones defined, so the responses
passed to its handlers by core isctest.asyncserver code are guaranteed
to be empty. Remove a call to qctx.prepare_new_response() from
CookieHandler.get_responses() as it is redundant.
(cherry picked from commit 802c03313f)
This commit is contained in:
parent
ab8a253189
commit
5f39e1d946
1 changed files with 0 additions and 2 deletions
|
|
@ -67,8 +67,6 @@ class CookieHandler(DomainHandler):
|
|||
self, qctx: QueryContext
|
||||
) -> AsyncGenerator[DnsResponseSend, None]:
|
||||
|
||||
qctx.prepare_new_response()
|
||||
|
||||
# Check for client cookie
|
||||
cookie = _get_cookie(qctx)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue