| 80 | static APR_OPTIONAL_FN_TYPE(ajp_handle_cping_cpong) *ajp_handle_cping_cpong = NULL; |
| 81 | |
| 82 | static 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 | |
| 94 | static ap_watchdog_t *watchdog; |
| 95 | #if HC_USE_THREADS |
no outgoing calls
no test coverage detected