From dfe52a0de5a179915561e8196b529c8d9e8530f7 Mon Sep 17 00:00:00 2001 From: Ralph Dolmans Date: Thu, 16 Jun 2016 11:57:20 +0000 Subject: [PATCH] - Decrease dp attempts at each QNAME minimisation iteration git-svn-id: file:///svn/unbound/trunk@3796 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 3 +++ iterator/iterator.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/doc/Changelog b/doc/Changelog index 91bc76fb3..7ca856a83 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +16 June 2016: Ralph + - Decrease dp attempts at each QNAME minimisation iteration + 16 June 2016: Wouter - Fix tcp timeouts in tv.usec. diff --git a/iterator/iterator.c b/iterator/iterator.c index 749fba6af..adeb79ae1 100644 --- a/iterator/iterator.c +++ b/iterator/iterator.c @@ -2026,6 +2026,8 @@ processQueryTargets(struct module_qstate* qstate, struct iter_qstate* iq, iq->minimise_count++; iq->minimise_timeout_count = 0; + iter_dec_attempts(iq->dp, 1); + /* Limit number of iterations for QNAMEs with more * than MAX_MINIMISE_COUNT labels. Send first MINIMISE_ONE_LAB * labels of QNAME always individually.