Commit 041989b354 for bind
commit 041989b354bbeaefbfe3cd2bfb2abf0fa6ee47a1
Merge: fed1084bfe a4195c3c48
Author: Evan Hunt <each@isc.org>
Date: Tue Nov 3 06:01:41 2026 +0000
fix: dev: Handle dns_resolver_createfetch() failures in zonefetch
When `dns_resolver_createfetch()` is called by `dns_zonefetch_run()` and
immediately fails - for example, when it gets `DNS_R_NXDOMAIN` from
`dns_view_bestzonecut()` - the completion handler for the zone fetch
must be called with the result code.
Previously, a cancel handler was called instead, but that didn't take a
result code and wasn't always able to handle failures correctly. We now
call the `done_fetch` callback and the `cancel_fetch` callback has been
removed.
Additionally, the `start_fetch` callbacks have been cleaned up to ensure
that `fetch->qname` and `fetch->qtype` are always initialized even in the
event of failure.
Merge branch 'each-zonefetch-catch-failure' into 'main'
See merge request isc-projects/bind9!13042