]> git.ipfire.org Git - thirdparty/bind9.git/commit
resolver: copy fetch responses and send events in one go
authorColin Vidal <colin@isc.org>
Thu, 15 Jan 2026 16:36:50 +0000 (17:36 +0100)
committerColin Vidal <colin@isc.org>
Tue, 10 Feb 2026 07:50:16 +0000 (08:50 +0100)
commit5972ee2cd599036d09f171a94701a6187fc6e668
treefab744ce8607eab976d12ed23fb96f2e810343b3
parenta5b2a8c931caaa60ab292968152b4c2fb31fd058
resolver: copy fetch responses and send events in one go

Instead of first copying query response data into each fetch response
and then iterating again to send the response to the caller, perform
both operations in one go.

Also removed some duplicate code.
lib/dns/resolver.c