mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-24 00:29:58 -05:00
- 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:
parent
9d14e3c281
commit
29cd24bbc6
2 changed files with 6 additions and 0 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
|
30 May 2016: Wouter
|
||||||
|
- Fix time in case answer comes from cache in ub_resolve_event().
|
||||||
|
|
||||||
27 May 2016: Wouter
|
27 May 2016: Wouter
|
||||||
- Fix #770: Small subgroup attack on DH used in unix pipe on localhost
|
- Fix #770: Small subgroup attack on DH used in unix pipe on localhost
|
||||||
if unbound control uses a unix local named pipe.
|
if unbound control uses a unix local named pipe.
|
||||||
|
|
|
||||||
|
|
@ -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 */
|
/* create new ctx_query and attempt to add to the list */
|
||||||
q = context_new(ctx, name, rrtype, rrclass, (ub_callback_t)callback,
|
q = context_new(ctx, name, rrtype, rrclass, (ub_callback_t)callback,
|
||||||
mydata);
|
mydata);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue