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

Function set_cache_root

modules/cache/mod_cache_disk.c:1433–1443  ·  view source on GitHub ↗

* mod_cache_disk configuration directives handlers. */

Source from the content-addressed store, hash-verified

1431 * mod_cache_disk configuration directives handlers.
1432 */
1433static const char
1434*set_cache_root(cmd_parms *parms, void *in_struct_ptr, const char *arg)
1435{
1436 disk_cache_conf *conf = ap_get_module_config(parms->server->module_config,
1437 &cache_disk_module);
1438 conf->cache_root = arg;
1439 conf->cache_root_len = strlen(arg);
1440 /* TODO: canonicalize cache_root and strip off any trailing slashes */
1441
1442 return NULL;
1443}
1444
1445/*
1446 * Consider eliminating the next two directives in favor of

Callers

nothing calls this directly

Calls 1

ap_get_module_configFunction · 0.85

Tested by

no test coverage detected