From: Vladimír Čunát Date: Wed, 22 Jul 2020 13:53:11 +0000 (+0200) Subject: lib/cache: improve comments X-Git-Tag: v6.0.1~9^2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fcbf43c2d6831a76d497e538a2a9c531015276d;p=thirdparty%2Fknot-resolver.git lib/cache: improve comments See NEWS for 4.0.0: "always send DO+CD flags upstream". --- diff --git a/lib/cache/api.c b/lib/cache/api.c index 116d775e9..c1db755ed 100644 --- a/lib/cache/api.c +++ b/lib/cache/api.c @@ -34,8 +34,6 @@ * - Reconsider when RRSIGs are put in and retrieved from the cache. * Currently it's always done, which _might_ be spurious, depending * on how kresd will use the returned result. - * There's also the "problem" that kresd ATM does _not_ ask upstream - * with DO bit in some cases. */ diff --git a/lib/rplan.h b/lib/rplan.h index 891781fcb..7ae33f212 100644 --- a/lib/rplan.h +++ b/lib/rplan.h @@ -26,7 +26,7 @@ struct kr_qflags { bool AWAIT_IPV6 : 1; /**< Query is waiting for AAAA address. */ bool AWAIT_CUT : 1; /**< Query is waiting for zone cut lookup */ bool NO_EDNS : 1; /**< Don't use EDNS. */ - bool CACHED : 1; /**< Query response is cached. */ + bool CACHED : 1; /**< Query response is cached (or generated locally). */ bool NO_CACHE : 1; /**< No cache for lookup; exception: finding NSs and subqueries. */ bool EXPIRING : 1; /**< Query response is cached but expiring. See is_expiring(). */ bool ALLOW_LOCAL : 1; /**< Allow queries to local or private address ranges. */