mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-24 08:32:28 +02:00
do not allow cache snooping by default.
git-svn-id: file:///svn/unbound/trunk@1220 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
@@ -381,11 +381,13 @@ fake_pending_callback(struct replay_runtime* runtime,
|
||||
struct fake_pending* p = runtime->pending_list;
|
||||
struct comm_reply repinfo;
|
||||
struct comm_point c;
|
||||
void* cb_arg = p->cb_arg;
|
||||
comm_point_callback_t* cb = p->callback;
|
||||
void* cb_arg;
|
||||
comm_point_callback_t* cb;
|
||||
|
||||
memset(&c, 0, sizeof(c));
|
||||
if(!p) fatal_exit("No pending queries.");
|
||||
cb_arg = p->cb_arg;
|
||||
cb = p->callback;
|
||||
log_assert(todo->qname == NULL); /* or find that one */
|
||||
c.buffer = ldns_buffer_new(runtime->bufsize);
|
||||
c.type = comm_udp;
|
||||
|
||||
Reference in New Issue
Block a user