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

Function md_config_set_proxy

modules/md/mod_md_config.c:863–878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

861}
862
863static const char *md_config_set_proxy(cmd_parms *cmd, void *arg, const char *value)
864{
865 md_srv_conf_t *sc = md_config_get(cmd->server);
866 const char *err;
867
868 if ((err = md_conf_check_location(cmd, MD_LOC_NOT_MD))) {
869 return err;
870 }
871 md_util_abs_http_uri_check(cmd->pool, value, &err);
872 if (err) {
873 return err;
874 }
875 sc->mc->proxy_url = value;
876 (void)arg;
877 return NULL;
878}
879
880static const char *md_config_set_store_dir(cmd_parms *cmd, void *arg, const char *value)
881{

Callers

nothing calls this directly

Calls 3

md_config_getFunction · 0.85
md_conf_check_locationFunction · 0.85

Tested by

no test coverage detected