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

Function core_post_config

server/core.c:5132–5155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5130}
5131
5132static int core_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s)
5133{
5134 ap__logio_add_bytes_out = APR_RETRIEVE_OPTIONAL_FN(ap_logio_add_bytes_out);
5135 ident_lookup = APR_RETRIEVE_OPTIONAL_FN(ap_ident_lookup);
5136 ap__authz_ap_some_auth_required = APR_RETRIEVE_OPTIONAL_FN(authz_some_auth_required);
5137 authn_ap_auth_type = APR_RETRIEVE_OPTIONAL_FN(authn_ap_auth_type);
5138 authn_ap_auth_name = APR_RETRIEVE_OPTIONAL_FN(authn_ap_auth_name);
5139 access_compat_ap_satisfies = APR_RETRIEVE_OPTIONAL_FN(access_compat_ap_satisfies);
5140
5141 set_banner(pconf);
5142 ap_setup_make_content_type(pconf);
5143 ap_setup_auth_internal(ptemp);
5144 ap_setup_ssl_optional_fns(pconf);
5145 if (!sys_privileges) {
5146 ap_log_error(APLOG_MARK, APLOG_CRIT, 0, NULL, APLOGNO(00136)
5147 "Server MUST relinquish startup privileges before "
5148 "accepting connections. Please ensure mod_unixd "
5149 "or other system security module is loaded.");
5150 return !OK;
5151 }
5152 apr_pool_cleanup_register(pconf, NULL, ap_mpm_end_gen_helper,
5153 apr_pool_cleanup_null);
5154 return OK;
5155}
5156
5157static void core_insert_filter(request_rec *r)
5158{

Callers

nothing calls this directly

Calls 5

set_bannerFunction · 0.85
ap_setup_auth_internalFunction · 0.85
ap_log_errorFunction · 0.50

Tested by

no test coverage detected