]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
lib/cache: improve comments
authorVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 22 Jul 2020 13:53:11 +0000 (15:53 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 12 Jun 2023 08:22:45 +0000 (10:22 +0200)
See NEWS for 4.0.0: "always send DO+CD flags upstream".

lib/cache/api.c
lib/rplan.h

index 116d775e92d390310e944f682072a652ba373a25..c1db755ed58130087461f7ba1df32ec188862b4f 100644 (file)
@@ -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.
  */
 
 
index 891781fcb29926d6fd4e35ce1a1a63fd6df1b2ad..7ae33f2126cfea9c47135dbfcc315fb832950fdb 100644 (file)
@@ -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. */