- EDNS timeout code will not fire if EDNS status already known.

- EDNS failure not stored if EDNS status known to work.


git-svn-id: file:///svn/unbound/trunk@2115 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2010-05-21 11:00:35 +00:00
parent 4cc482e222
commit 75bce22b30
5 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -407,7 +407,7 @@ infra_test()
unit_assert( infra_edns_update(slab, &one, onelen, -1, now) );
unit_assert( infra_host(slab, &one, onelen,
now, &vs, &edns_lame, &to) );
unit_assert( vs == -1 && to == init*2 && edns_lame == 1);
unit_assert( vs == 0 && to == init*2 && edns_lame == 0);
now += cfg->host_ttl + 10;
unit_assert( infra_host(slab, &one, onelen,