- unbound-iterator.patch was not commited

This commit is contained in:
Paul Wouters 2009-05-20 16:43:09 +00:00
parent 17c9b5a493
commit 422c05d749
2 changed files with 27 additions and 1 deletions

23
unbound-iterator.patch Normal file
View File

@ -0,0 +1,23 @@
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;
}

View File

@ -1,7 +1,7 @@
Summary: Validating, recursive, and caching DNS(SEC) resolver
Name: unbound
Version: 1.2.1
Release: 6%{?dist}
Release: 7%{?dist}
License: BSD
Url: http://www.nlnetlabs.nl/unbound/
Source: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
@ -158,6 +158,9 @@ fi
%postun libs -p /sbin/ldconfig
%changelog
* Wed May 20 2009 Paul Wouters <paul@xelerance.com> - 1.2.1-7
- unbound-iterator.patch was not commited
* Wed May 20 2009 Paul Wouters <paul@xelerance.com> - 1.2.1-6
- Fix for https://bugzilla.redhat.com/show_bug.cgi?id=499793