]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Convert the warning about storing in raw form to a comment
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 23 Feb 2021 13:09:55 +0000 (14:09 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 23 Feb 2021 13:09:55 +0000 (14:09 +0100)
pdns/recursordist/aggressive_nsec.cc

index 3e47588bc83c8345ddfcf7ec5b1e415443982e7a..cb0806433905fba654088026c26e3dca01554d67 100644 (file)
@@ -289,7 +289,8 @@ void AggressiveNSECCache::insertNSEC(const DNSName& zone, const DNSName& owner,
         return;
       }
 
-#warning Ponder storing everything in raw form, without the zone instead. It still needs to be a DNSName for NSEC, though
+      // XXX: Ponder storing everything in raw form, without the zone instead. It still needs to be a DNSName for NSEC, though,
+      // but doing the conversion on cache hits only might be faster
       next = DNSName(toBase32Hex(content->d_nexthash)) + zone;
 
       if (entry->d_iterations != content->d_iterations || entry->d_salt != content->d_salt) {