mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
[9.20] chg: usr: Add more information to the rndc recursing output about fetches
This adds more information about the active fetches for debugging and diagnostic purposes. Backport of MR !11305 Merge branch 'backport-ondrej/provide-more-information-in-dns_resolver_dumpfetches-9.20' into 'bind-9.20' See merge request isc-projects/bind9!11358
This commit is contained in:
commit
9766feb4df
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