From: Aram Sargsyan Date: Thu, 11 Jul 2024 09:30:53 +0000 (+0000) Subject: Process also the ISC_R_CANCELED result code in rpz_rewrite() X-Git-Tag: v9.21.1~38^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8bb9568467500cb80329972c92b1d53b9f9d0672;p=thirdparty%2Fbind9.git 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. --- diff --git a/lib/ns/query.c b/lib/ns/query.c index 01b24dcdfa4..75a87ca2119 100644 --- a/lib/ns/query.c +++ b/lib/ns/query.c @@ -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,