mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-10 08:42:53 -05:00
- Allow for easier testing (to be reverted).
This commit is contained in:
parent
9e53506240
commit
b6dfe35e1d
2 changed files with 3 additions and 1 deletions
|
|
@ -2777,7 +2777,7 @@ processQueryTargets(struct module_qstate* qstate, struct iter_qstate* iq,
|
|||
if(can_do_promisc && tf_policy == 0 && iq->depth == 0
|
||||
&& ie->target_fetch_policy[iq->depth] != 0
|
||||
&& iq->dp_target_count == 0
|
||||
&& !ub_random_max(qstate->env->rnd, 10)) {
|
||||
/* XXX && !ub_random_max(qstate->env->rnd, 10)*/) {
|
||||
int extra = 0;
|
||||
verbose(VERB_ALGO, "available target exists in cache but "
|
||||
"attempt to get extra 1 target");
|
||||
|
|
|
|||
|
|
@ -2246,7 +2246,9 @@ mesh_serve_expired_callback(void* arg)
|
|||
|
||||
int mesh_jostle_exceeded(struct mesh_area* mesh)
|
||||
{
|
||||
/* XXX
|
||||
if(mesh->all.count < mesh->max_reply_states)
|
||||
return 0;
|
||||
*/
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue