mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- Fix forward-first option where it sets the RD flag wrongly.
git-svn-id: file:///svn/unbound/trunk@2731 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
9046a52364
commit
217ef3d9a3
2 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
- Fix that enables modules to register twice for the same
|
- Fix that enables modules to register twice for the same
|
||||||
serviced_query, without race conditions or administration issues.
|
serviced_query, without race conditions or administration issues.
|
||||||
This should not happen with the current codebase, but it is robust.
|
This should not happen with the current codebase, but it is robust.
|
||||||
|
- Fix forward-first option where it sets the RD flag wrongly.
|
||||||
|
|
||||||
30 July 2012: Wouter
|
30 July 2012: Wouter
|
||||||
- tag 1.4.18rc2.
|
- tag 1.4.18rc2.
|
||||||
|
|
|
||||||
|
|
@ -1436,6 +1436,7 @@ processLastResort(struct module_qstate* qstate, struct iter_qstate* iq,
|
||||||
if(p) {
|
if(p) {
|
||||||
struct delegpt_ns* ns;
|
struct delegpt_ns* ns;
|
||||||
struct delegpt_addr* a;
|
struct delegpt_addr* a;
|
||||||
|
iq->chase_flags &= ~BIT_RD; /* go to authorities */
|
||||||
for(ns = p->nslist; ns; ns=ns->next) {
|
for(ns = p->nslist; ns; ns=ns->next) {
|
||||||
(void)delegpt_add_ns(iq->dp, qstate->region,
|
(void)delegpt_add_ns(iq->dp, qstate->region,
|
||||||
ns->name, (int)ns->lame);
|
ns->name, (int)ns->lame);
|
||||||
|
|
@ -1455,6 +1456,7 @@ processLastResort(struct module_qstate* qstate, struct iter_qstate* iq,
|
||||||
/* if: no parent NS in cache - go up one level */
|
/* if: no parent NS in cache - go up one level */
|
||||||
verbose(VERB_ALGO, "try to grab parent NS");
|
verbose(VERB_ALGO, "try to grab parent NS");
|
||||||
iq->store_parent_NS = iq->dp;
|
iq->store_parent_NS = iq->dp;
|
||||||
|
iq->chase_flags &= ~BIT_RD; /* go to authorities */
|
||||||
iq->deleg_msg = NULL;
|
iq->deleg_msg = NULL;
|
||||||
iq->refetch_glue = 1;
|
iq->refetch_glue = 1;
|
||||||
iq->query_restart_count++;
|
iq->query_restart_count++;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue