2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

chg: usr: Reword the 'shut down hung fetch while resolving' message

The log message 'shut down hung fetch while resolving' may be confusing
because no detection of hung fetches actually takes place, but rather
the timer on the fetch context expires and the resolver gives up.

Change the log message to actually say that instead of the original
cryptic message about hung fetch.

Closes #3148

Merge branch '3148-rename-shut-down-hung-fetch' into 'main'

See merge request isc-projects/bind9!10759
This commit is contained in:
Ondřej Surý
2025-07-23 22:38:22 +02:00

View File

@@ -4423,10 +4423,9 @@ fctx_expired(void *arg) {
REQUIRE(VALID_FCTX(fctx));
REQUIRE(fctx->tid == isc_tid());
FCTXTRACE(isc_result_totext(ISC_R_TIMEDOUT));
isc_log_write(DNS_LOGCATEGORY_RESOLVER, DNS_LOGMODULE_RESOLVER,
ISC_LOG_INFO,
"shut down hung fetch while resolving %p(%s)", fctx,
fctx->info);
ISC_LOG_INFO, "gave up on resolving '%s'", fctx->info);
dns_ede_add(&fctx->edectx, DNS_EDE_NOREACHABLEAUTH, NULL);