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

Function hc_create_config

modules/proxy/mod_proxy_hcheck.c:82–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80static APR_OPTIONAL_FN_TYPE(ajp_handle_cping_cpong) *ajp_handle_cping_cpong = NULL;
81
82static void *hc_create_config(apr_pool_t *p, server_rec *s)
83{
84 sctx_t *ctx = apr_pcalloc(p, sizeof(sctx_t));
85 ctx->s = s;
86 apr_pool_create(&ctx->p, p);
87 apr_pool_tag(ctx->p, "proxy_hcheck");
88 ctx->templates = apr_array_make(p, 10, sizeof(hc_template_t));
89 ctx->conditions = apr_table_make(p, 10);
90 ctx->hcworkers = apr_hash_make(p);
91 return ctx;
92}
93
94static ap_watchdog_t *watchdog;
95#if HC_USE_THREADS

Callers 1

set_worker_hc_paramFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected