From 1c1c5d72d34e4ade5431390f3d29bea079866c46 Mon Sep 17 00:00:00 2001 From: George Thessalonikefs Date: Thu, 9 Feb 2023 10:52:56 +0100 Subject: [PATCH] Changelog entry for - Allow TTL refresh of expired error responses. --- doc/Changelog | 3 +++ iterator/iterator.c | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/Changelog b/doc/Changelog index 7c252a96d..c6accacf9 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +9 February 2023: George + - Allow TTL refresh of expired error responses. + 9 February 2023: Wouter - Fix to ignore entirely empty responses, and try at another authority. This turns completely empty responses, a type of noerror/nodata into diff --git a/iterator/iterator.c b/iterator/iterator.c index a6e0b26ce..2d4c43f58 100644 --- a/iterator/iterator.c +++ b/iterator/iterator.c @@ -329,8 +329,7 @@ error_response_cache(struct module_qstate* qstate, int id, int rcode) rep->serve_expired_ttl) { verbose(VERB_ALGO, "reset " "serve-expired-ttl for " - "error response in " - "cache"); + "response in cache"); rep->serve_expired_ttl = *qstate->env->now + qstate->env->cfg->serve_expired_ttl;