]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix DNSCACHE_STORE_ZEROTTL to be bigger than 0xffff.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 19 Sep 2017 11:54:58 +0000 (11:54 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 19 Sep 2017 11:54:58 +0000 (11:54 +0000)
git-svn-id: file:///svn/unbound/trunk@4355 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
services/cache/dns.h

index 777b34cd5b4141846ee2706175888667ccb6c91d..d3dcf441646756b81f1192afd61920eccbb27afe 100644 (file)
@@ -5,6 +5,7 @@
          cachedb lookup)
        - allow storing a 0-TTL answer from cachedb in the in-memory message
          cache when serve-expired is yes
+       - Fix DNSCACHE_STORE_ZEROTTL to be bigger than 0xffff.
 
 18 September 2017: Ralph
        - Fix #1400: allowing use of global cache on ECS-forwarding unless
index bb1188e99bf1eabedde2694305f3b6d2c3d6a535..9e10f437f1b49529006bdd4e6d377c4c021134be 100644 (file)
@@ -53,7 +53,7 @@ struct delegpt;
  *  Must be an unsigned 32-bit value larger than 0xffff */
 
 /** Allow caching a DNS message with a zero TTL. */
-#define DNSCACHE_STORE_ZEROTTL 0x1000
+#define DNSCACHE_STORE_ZEROTTL 0x100000
 
 /**
  * Region allocated message reply