]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
comment to explain it.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 21 Feb 2018 13:17:27 +0000 (13:17 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 21 Feb 2018 13:17:27 +0000 (13:17 +0000)
git-svn-id: file:///svn/unbound/trunk@4545 be551aaa-1e26-0410-a405-d3ace91eadb9

iterator/iterator.c

index 1501fa00db50e76876e1b9f3adb18f73c424cccb..9c622283b23a7d0ba800ca4669f88e7ec490424d 100644 (file)
@@ -1158,6 +1158,10 @@ processInitRequest(struct module_qstate* qstate, struct iter_qstate* iq,
                verbose(VERB_QUERY, "request has exceeded the maximum number"
                        " of query restarts with %d", iq->query_restart_count);
                if(iq->response) {
+                       /* return the partial CNAME loop, i.e. with the
+                        * actual packet in iq->response cleared of RRsets,
+                        * the stored prepend RRsets contain the loop contents
+                        * with duplicates removed */
                        iq->state = FINISHED_STATE;
                        return 1;
                }