remove debug prints

git-svn-id: file:///svn/unbound/trunk@1435 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2009-01-14 14:41:41 +00:00
parent a46c9197c4
commit b33f5f66ec
2 changed files with 1 additions and 4 deletions

View file

@ -7,6 +7,7 @@
state machines unnecessarily. state machines unnecessarily.
- retry from 4 to 5 so that EDNS drop retry is part of the first - retry from 4 to 5 so that EDNS drop retry is part of the first
query resolve attempt, and cached error does not stop EDNS fallback. query resolve attempt, and cached error does not stop EDNS fallback.
- remove debug prints that protect against bad referrals.
13 January 2009: Wouter 13 January 2009: Wouter
- fixed bug in lameness marking, removed printouts. - fixed bug in lameness marking, removed printouts.

View file

@ -1457,10 +1457,6 @@ processQueryResponse(struct module_qstate* qstate, struct iter_qstate* iq,
if(!ns || !dname_strict_subdomain_c(ns->rk.dname, iq->dp->name) if(!ns || !dname_strict_subdomain_c(ns->rk.dname, iq->dp->name)
|| !dname_subdomain_c(iq->qchase.qname, ns->rk.dname)){ || !dname_subdomain_c(iq->qchase.qname, ns->rk.dname)){
verbose(VERB_ALGO, "bad referral, throwaway"); verbose(VERB_ALGO, "bad referral, throwaway");
if(!ns) log_info("no ns");
log_query_info(0, "qchase", &iq->qchase);
log_nametypeclass(0, "dp", iq->dp->name, 0, 0);
log_nametypeclass(0, "ns", ns->rk.dname, 0, 0);
type = RESPONSE_TYPE_THROWAWAY; type = RESPONSE_TYPE_THROWAWAY;
} }
} }