Process also the ISC_R_CANCELED result code in rpz_rewrite()

Log  canceled queries (e.g. when shutting down a hung fetch)
in DEBUG3 level instead of DEBUG1 which is used for the
"unrecognized" result codes.

(cherry picked from commit 8bb9568467)
This commit is contained in:
Aram Sargsyan 2024-07-11 09:30:53 +00:00 committed by Arаm Sаrgsyаn
parent b9f0df6097
commit 30238a6172

View file

@ -4147,6 +4147,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,