unbound/unbound-iterator.patch
2009-05-20 16:43:09 +00:00

24 lines
943 B
Diff

Index: iterator/iterator.c
===================================================================
--- iterator/iterator.c (revision 1527)
+++ iterator/iterator.c (working copy)
@@ -1288,14 +1288,14 @@
/* if there is a policy to fetch missing targets
* opportunistically, do it. we rely on the fact that once a
* query (or queries) for a missing name have been issued,
- * they will not be show up again. */
+ * they will not show up again. */
} else if(tf_policy != 0) {
int extra = 0;
verbose(VERB_ALGO, "attempt to get extra %d targets",
tf_policy);
- if(!query_for_targets(qstate, iq, ie, id, tf_policy, &extra)) {
- return error_response(qstate, id, LDNS_RCODE_SERVFAIL);
- }
+ (void)query_for_targets(qstate, iq, ie, id, tf_policy, &extra);
+ /* errors ignored, these targets are not strictly necessary for
+ * this result, we do not have to reply with SERVFAIL */
iq->num_target_queries += extra;
}