MCPcopy Create free account
hub / github.com/apache/httpd / set_cache_lock_path

Function set_cache_lock_path

modules/cache/mod_cache.c:2401–2417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2399}
2400
2401static const char *set_cache_lock_path(cmd_parms *parms, void *dummy,
2402 const char *arg)
2403{
2404 cache_server_conf *conf;
2405
2406 conf =
2407 (cache_server_conf *)ap_get_module_config(parms->server->module_config,
2408 &cache_module);
2409
2410 conf->lockpath = ap_server_root_relative(parms->pool, arg);
2411 if (!conf->lockpath) {
2412 return apr_pstrcat(parms->pool, "Invalid CacheLockPath path ",
2413 arg, NULL);
2414 }
2415 conf->lockpath_set = 1;
2416 return NULL;
2417}
2418
2419static const char *set_cache_lock_maxage(cmd_parms *parms, void *dummy,
2420 const char *arg)

Callers

nothing calls this directly

Calls 2

ap_get_module_configFunction · 0.85
ap_server_root_relativeFunction · 0.85

Tested by

no test coverage detected