]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Fixup fastrpz.patch
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 2 Oct 2018 10:34:00 +0000 (10:34 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 2 Oct 2018 10:34:00 +0000 (10:34 +0000)
git-svn-id: file:///svn/unbound/trunk@4920 be551aaa-1e26-0410-a405-d3ace91eadb9

contrib/fastrpz.patch

index 8f079f2725d473407baa735287b5de73af340d5e..f38459483fb2b54f95b3a56af07ae8bc3bb1c1d5 100644 (file)
@@ -3041,9 +3041,9 @@ Index: unbound-1.7.0~rc1/iterator/iterator.c
 +                      }
 +              }
 +#endif
-               if(iq->minimisation_state != DONOT_MINIMISE_STATE) {
+               if(iq->minimisation_state != DONOT_MINIMISE_STATE
+                       && !(iq->chase_flags & BIT_RD)) {
                        if(FLAGS_GET_RCODE(iq->response->rep->flags) != 
-                               LDNS_RCODE_NOERROR) {
 @@ -3273,12 +3367,44 @@ processFinished(struct module_qstate* qs
                 * but only if we did recursion. The nonrecursion referral
                 * from cache does not need to be stored in the msg cache. */