- Fix time in case answer comes from cache in ub_resolve_event().

git-svn-id: file:///svn/unbound/trunk@3732 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2016-05-30 12:48:11 +00:00
parent 9d14e3c281
commit 29cd24bbc6
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,6 @@
30 May 2016: Wouter
- Fix time in case answer comes from cache in ub_resolve_event().
27 May 2016: Wouter
- Fix #770: Small subgroup attack on DH used in unix pipe on localhost
if unbound control uses a unix local named pipe.

View file

@ -717,6 +717,9 @@ ub_resolve_event(struct ub_ctx* ctx, const char* name, int rrtype,
}
}
/* set time in case answer comes from cache */
ub_comm_base_now(ctx->event_worker->base);
/* create new ctx_query and attempt to add to the list */
q = context_new(ctx, name, rrtype, rrclass, (ub_callback_t)callback,
mydata);