query targets state.

git-svn-id: file:///svn/unbound/trunk@352 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2007-05-31 12:51:36 +00:00
parent c8939acc7f
commit 80391ee2b8
14 changed files with 489 additions and 27 deletions
+4 -5
View File
@@ -50,6 +50,10 @@ struct iter_prep_list;
/** max number of query restarts. Determines max number of CNAME chain. */
#define MAX_RESTART_COUNT 8
/** max number of referrals. Makes sure resolver does not run away */
#define MAX_REFERRAL_COUNT 30
/** how nice is a server without further information, in msec */
#define UNKNOWN_SERVER_NICENESS 3000
/**
* Global state for the iterator.
@@ -186,11 +190,6 @@ struct iter_qstate {
*/
struct delegpt* dp;
/**
* Current address target.
*/
struct delegpt_addr* current_target;
/** Current delegation message - returned for non-RD queries */
struct dns_msg* deleg_msg;