work on prefetch: store the updated results in the cache.

git-svn-id: file:///svn/unbound/trunk@1954 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2010-01-08 15:59:36 +00:00
parent 9a9df2478d
commit 5b0fd59e76
14 changed files with 284 additions and 24 deletions
+2 -1
View File
@@ -65,7 +65,8 @@ int storeQueryInCache(struct module_qstate* qstate, struct query_info* qinfo, st
return 0;
}
return dns_cache_store(qstate->env, qinfo, msgrep, is_referral);
return dns_cache_store(qstate->env, qinfo, msgrep, is_referral,
qstate->prefetch_leeway);
}
/* Invalidate the message associated with query_info stored in message cache */