mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-27 20:25:55 -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.
This commit is contained in:
parent
a296bcf587
commit
802c03313f
1 changed files with 0 additions and 2 deletions
|
|
@ -74,8 +74,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