Home
last modified time | relevance | path

Searched refs:serve_expired (Results 1 – 14 of 14) sorted by relevance

/openbsd/src/usr.sbin/unbound/cachedb/
Dcachedb.c407 !qstate->env->cfg->serve_expired) in prep_data()
462 (!qstate->env->cfg->serve_expired || in good_expiry_and_qinfo()
611 if(!qstate->env->cfg->serve_expired || in parse_data()
630 if(qstate->env->cfg->serve_expired && in parse_data()
737 int serve_expired = qstate->env->cfg->serve_expired; in cachedb_intcache_store() local
739 if(qstate->env->cfg->serve_expired) in cachedb_intcache_store()
743 if(serve_expired && msg_expired) { in cachedb_intcache_store()
756 if(serve_expired && msg_expired) { in cachedb_intcache_store()
834 if(qstate->env->cfg->serve_expired && msg_expired) { in cachedb_handle_query()
Dredis.c333 (!env->cfg->serve_expired || env->cfg->serve_expired_ttl > 0)); in redis_store()
/openbsd/src/usr.sbin/unbound/util/
Dconfig_file.h419 int serve_expired; member
Dconfig_file.c278 cfg->serve_expired = 0; in config_create()
711 { IS_YES_OR_NO; cfg->serve_expired = (strcmp(val, "yes") == 0); in config_set_option()
712 SERVE_EXPIRED = cfg->serve_expired; } in config_set_option()
1182 else O_YNO(opt, "serve-expired", serve_expired) in config_get_option()
2380 SERVE_EXPIRED = config->serve_expired; in config_apply()
Dconfigparser.y2122 else cfg_parser->cfg->serve_expired = (strcmp($2, "yes")==0);
/openbsd/src/sbin/unwind/libunbound/util/
Dconfig_file.h419 int serve_expired; member
Dconfig_file.c278 cfg->serve_expired = 0; in config_create()
711 { IS_YES_OR_NO; cfg->serve_expired = (strcmp(val, "yes") == 0); in config_set_option()
712 SERVE_EXPIRED = cfg->serve_expired; } in config_set_option()
1182 else O_YNO(opt, "serve-expired", serve_expired) in config_get_option()
2380 SERVE_EXPIRED = config->serve_expired; in config_apply()
Dconfigparser.y2122 else cfg_parser->cfg->serve_expired = (strcmp($2, "yes")==0);
/openbsd/src/sbin/unwind/libunbound/services/
Dmesh.c332 qstate->env->cfg->serve_expired, qstate->env->scratch); in mesh_serve_expired_lookup()
413 int timeout = mesh->env->cfg->serve_expired? in mesh_new_client()
525 if(!timeout && mesh->env->cfg->serve_expired && in mesh_new_client()
584 int timeout = mesh->env->cfg->serve_expired? in mesh_new_callback()
646 if(!timeout && mesh->env->cfg->serve_expired && in mesh_new_callback()
/openbsd/src/usr.sbin/unbound/services/
Dmesh.c332 qstate->env->cfg->serve_expired, qstate->env->scratch); in mesh_serve_expired_lookup()
413 int timeout = mesh->env->cfg->serve_expired? in mesh_new_client()
525 if(!timeout && mesh->env->cfg->serve_expired && in mesh_new_client()
584 int timeout = mesh->env->cfg->serve_expired? in mesh_new_callback()
646 if(!timeout && mesh->env->cfg->serve_expired && in mesh_new_callback()
/openbsd/src/usr.sbin/unbound/edns-subnet/
Dsubnetmod.c222 if(env->cfg->serve_expired) in subnetmod_init()
613 if(qstate->env->cfg->serve_expired) { in eval_response()
/openbsd/src/usr.sbin/unbound/daemon/
Dworker.c663 if(worker->env.cfg->serve_expired && in answer_from_cache()
1853 (worker->env.cfg->serve_expired && in worker_handle_request()
/openbsd/src/usr.sbin/unbound/iterator/
Diterator.c325 if(qstate->env->cfg->serve_expired && in error_response_cache()
340 (qstate->env->cfg->serve_expired || in error_response_cache()
/openbsd/src/sbin/unwind/libunbound/iterator/
Diterator.c325 if(qstate->env->cfg->serve_expired && in error_response_cache()
340 (qstate->env->cfg->serve_expired || in error_response_cache()