]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Decrease dp attempts at each QNAME minimisation iteration
authorRalph Dolmans <ralph@nlnetlabs.nl>
Thu, 16 Jun 2016 11:57:20 +0000 (11:57 +0000)
committerRalph Dolmans <ralph@nlnetlabs.nl>
Thu, 16 Jun 2016 11:57:20 +0000 (11:57 +0000)
git-svn-id: file:///svn/unbound/trunk@3796 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
iterator/iterator.c

index 91bc76fb373a85c41dffa8357d06262f62914f96..7ca856a83fc6bdc422c8e509d6d7111af3bda516 100644 (file)
@@ -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.
 
index 749fba6af63821632b69d40f77e3d4ffbbf5c8e8..adeb79ae19f8cf94968e079872918236a3bbd85c 100644 (file)
@@ -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.