From b33f5f66ecd3cb1640053d4c1cd932f458e4d889 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Wed, 14 Jan 2009 14:41:41 +0000 Subject: [PATCH] remove debug prints git-svn-id: file:///svn/unbound/trunk@1435 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 1 + iterator/iterator.c | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/Changelog b/doc/Changelog index ab0a33696..14f502963 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -7,6 +7,7 @@ state machines unnecessarily. - 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. + - remove debug prints that protect against bad referrals. 13 January 2009: Wouter - fixed bug in lameness marking, removed printouts. diff --git a/iterator/iterator.c b/iterator/iterator.c index adec1c0b9..6df7794f6 100644 --- a/iterator/iterator.c +++ b/iterator/iterator.c @@ -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) || !dname_subdomain_c(iq->qchase.qname, ns->rk.dname)){ 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; } }