Refacilitate valchain while avoiding roadblocks

This commit is contained in:
Willem Toorop 2017-08-30 15:33:50 +02:00
parent 2572c8f17b
commit a9677f4e1a
1 changed files with 4 additions and 0 deletions

View File

@ -3117,6 +3117,7 @@ static void check_chain_complete(chain_head *chain)
getdns_network_req **netreq_p, *netreq;
uint64_t now_ms = 0;
chain_head *head, *next;
dnsreq->avoid_dnssec_roadblocks = 1;
dnsreq->chain->lock += 1;
@ -3135,6 +3136,9 @@ static void check_chain_complete(chain_head *chain)
return;
for ( head = chain; head ; head = next ) {
chain_node *node;
size_t node_count;
next = head->next;
for ( node_count = head->node_count
, node = head->parent