mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
[9.20] chg: dev: Process also the ISC_R_CANCELED result code in rpz_rewrite()
Log canceled resolver queries (e.g. when shutting down a hung fetch) in DEBUG3 level instead of DEBUG1 which is used for the "unrecognized" result codes. Closes #4797 Backport of MR !9148 Merge branch 'backport-4797-rpz_rewrite-add-ISC_R_CANCELED-processing-9.20' into 'bind-9.20' See merge request isc-projects/bind9!9347
This commit is contained in:
commit
eb2e0991e1
1 changed files with 1 additions and 0 deletions
|
|
@ -4244,6 +4244,7 @@ rpz_rewrite(ns_client_t *client, dns_rdatatype_t qtype, isc_result_t qresult,
|
|||
break;
|
||||
case ISC_R_FAILURE:
|
||||
case ISC_R_TIMEDOUT:
|
||||
case ISC_R_CANCELED:
|
||||
case DNS_R_BROKENCHAIN:
|
||||
rpz_log_fail(client, DNS_RPZ_DEBUG_LEVEL3, NULL,
|
||||
DNS_RPZ_TYPE_QNAME,
|
||||
|
|
|
|||
Loading…
Reference in a new issue