summaryrefslogtreecommitdiffstats
path: root/lib/defines.h
diff options
context:
space:
mode:
authorGrigorii Demidov <grigorii.demidov@nic.cz>2016-03-15 15:47:49 +0100
committerMarek Vavrusa <marek@vavrusa.com>2016-04-14 07:16:51 +0200
commit5b357f3df0f90f0a77878df2473b320a54afe0e1 (patch)
tree5f37b04e3632ddab09c185cd73f3aaa90e7ea41d /lib/defines.h
parentlib/dnssec: nsec, nsec3 (no-optout) referrals to unsigned subzones (diff)
downloadknot-resolver-5b357f3df0f90f0a77878df2473b320a54afe0e1.tar.xz
knot-resolver-5b357f3df0f90f0a77878df2473b320a54afe0e1.zip
lib/layer: CNAME chain construction improvement
Diffstat (limited to 'lib/defines.h')
-rw-r--r--lib/defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/defines.h b/lib/defines.h
index 7031f7dd..aeda472b 100644
--- a/lib/defines.h
+++ b/lib/defines.h
@@ -53,6 +53,7 @@ static inline int __attribute__((__cold__)) kr_error(int x) {
#define KR_CONN_RTT_MAX 3000 /* Timeout for network activity */
#define KR_CONN_RETRY 300 /* Retry interval for network activity */
#define KR_ITER_LIMIT 50 /* Built-in iterator limit */
+#define KR_CNAME_CHAIN_LIMIT 40 /* Built-in maximum CNAME chain length */
/*
* Defines.