- Max referral count from 30 to 130, because 128 one character domains

is valid DNS.


git-svn-id: file:///svn/unbound/trunk@2152 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2010-06-15 10:50:20 +00:00
parent 75c811cc35
commit cb3b649707
2 changed files with 3 additions and 1 deletions

View file

@ -4,6 +4,8 @@
- Fix TCPreply on systems with no writev, if just 1 byte could be sent. - Fix TCPreply on systems with no writev, if just 1 byte could be sent.
- Fix to use one pointer less for iterator query state store_parent_NS. - Fix to use one pointer less for iterator query state store_parent_NS.
- makedist crosscompile to windows uses builtin ldns not host ldns. - makedist crosscompile to windows uses builtin ldns not host ldns.
- Max referral count from 30 to 130, because 128 one character domains
is valid DNS.
11 June 2010: Wouter 11 June 2010: Wouter
- When retry to parent the retrycount is not wiped, so failed - When retry to parent the retrycount is not wiped, so failed

View file

@ -55,7 +55,7 @@ struct iter_priv;
/** max number of query restarts. Determines max number of CNAME chain. */ /** max number of query restarts. Determines max number of CNAME chain. */
#define MAX_RESTART_COUNT 8 #define MAX_RESTART_COUNT 8
/** max number of referrals. Makes sure resolver does not run away */ /** max number of referrals. Makes sure resolver does not run away */
#define MAX_REFERRAL_COUNT 30 #define MAX_REFERRAL_COUNT 130
/** how nice is a server without further information, in msec /** how nice is a server without further information, in msec
* Equals rtt initial timeout value. * Equals rtt initial timeout value.
*/ */