mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-27 03:46:03 -04:00
Add more information to the rndc recursing output about fetches
It is possible to have a fetch that is active, but it has been cloned,
so it won't be used when found in the hash table. The fetch options
also prevent matching in the hash table, so add a hexadecimal dump of
the fctx->options to the output.
(cherry picked from commit 23ae5544be)
This commit is contained in:
parent
83660f0ebb
commit
038b3cd468
1 changed files with 5 additions and 3 deletions
|
|
@ -11179,9 +11179,11 @@ dns_resolver_dumpfetches(dns_resolver_t *res, isc_statsformat_t format,
|
|||
|
||||
dns_rdatatype_format(fctx->type, typebuf, sizeof(typebuf));
|
||||
|
||||
fprintf(fp, "/%s (%s): started %s, ", typebuf,
|
||||
fctx->state == fetchstate_active ? "active" : "done",
|
||||
timebuf);
|
||||
fprintf(fp, "/%s (%s), 0x%x: started %s, ", typebuf,
|
||||
fctx->state == fetchstate_done ? "done"
|
||||
: fctx->cloned ? "cloned"
|
||||
: "active",
|
||||
fctx->options, timebuf);
|
||||
|
||||
for (resp = ISC_LIST_HEAD(fctx->resps); resp != NULL;
|
||||
resp = ISC_LIST_NEXT(resp, link))
|
||||
|
|
|
|||
Loading…
Reference in a new issue