From: Ralph Dolmans Date: Thu, 3 Dec 2015 15:45:52 +0000 (+0000) Subject: Stop minimising after receiving rcode!=NOERROR X-Git-Tag: release-1.5.7~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3328dc4d68b768dcf7af305001317dc490d7ea20;p=thirdparty%2Funbound.git Stop minimising after receiving rcode!=NOERROR git-svn-id: file:///svn/unbound/trunk@3573 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/iterator/iterator.c b/iterator/iterator.c index 3681a1cae..04d9a0b4b 100644 --- a/iterator/iterator.c +++ b/iterator/iterator.c @@ -2470,6 +2470,8 @@ processQueryResponse(struct module_qstate* qstate, struct iter_qstate* iq, /* LAME, THROWAWAY and "unknown" all end up here. * Recycle to the QUERYTARGETS state to hopefully try a * different target. */ + if (qstate->env->cfg->qname_minimisation) + iq->minimisation_state = DONOT_MINIMISE_STATE; return next_state(iq, QUERYTARGETS_STATE); }