mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 08:09:59 -04:00
[9.18] chg: dev: Use query counters in validator code
Commit af7db89513 as part of #4141 was supposed to apply the 'max-recursion-queries' quota to validator queries, but the counter was never actually passed on to 'dns_resolver_createfetch()'. This has been fixed, and the global query counter ('max-query-count', per client request) is now also added.
Related to #4980
Backport of MR !9856
Merge branch 'backport-4980-pass-counters-in-validator-createfetch-9.18' into 'bind-9.18'
See merge request isc-projects/bind9!9867
This commit is contained in:
commit
b1207ea9ed
1 changed files with 2 additions and 2 deletions
|
|
@ -1060,8 +1060,8 @@ create_fetch(dns_validator_t *val, dns_name_t *name, dns_rdatatype_t type,
|
|||
validator_logcreate(val, name, type, caller, "fetch");
|
||||
return dns_resolver_createfetch(
|
||||
val->view->resolver, name, type, NULL, NULL, NULL, NULL, 0,
|
||||
fopts, 0, NULL, NULL, val->event->ev_sender, callback, val,
|
||||
&val->frdataset, &val->fsigrdataset, &val->fetch);
|
||||
fopts, 0, val->qc, val->gqc, val->event->ev_sender, callback,
|
||||
val, &val->frdataset, &val->fsigrdataset, &val->fetch);
|
||||
}
|
||||
|
||||
/*%
|
||||
|
|
|
|||
Loading…
Reference in a new issue