log_err("mesh_new_client: out of memory initializing serve expired");
goto servfail_mem;
}
-#ifdef USE_CACHEDB
if(!timeout && mesh->env->cfg->serve_expired &&
!mesh->env->cfg->serve_expired_client_timeout &&
(mesh->env->cachedb_enabled &&
goto servfail_mem;
}
}
-#endif
/* update statistics */
if(was_detached) {
log_assert(mesh->num_detached_states > 0);
mesh_state_delete(&s->s);
return 0;
}
-#ifdef USE_CACHEDB
if(!timeout && mesh->env->cfg->serve_expired &&
!mesh->env->cfg->serve_expired_client_timeout &&
(mesh->env->cachedb_enabled &&
return 0;
}
}
-#endif
/* update statistics */
if(was_detached) {
log_assert(mesh->num_detached_states > 0);
/** EDNS client string information */
struct edns_strings* edns_strings;
-#ifdef USE_CACHEDB
/** the cachedb enabled value, copied and stored here. */
int cachedb_enabled;
-#endif
/* Make every mesh state unique, do not aggregate mesh states. */
int unique_mesh;
};