post_config hook: */
| 2104 | |
| 2105 | /* post_config hook: */ |
| 2106 | static int proxy_http_post_config(apr_pool_t *pconf, apr_pool_t *plog, |
| 2107 | apr_pool_t *ptemp, server_rec *s) |
| 2108 | { |
| 2109 | |
| 2110 | /* proxy_http_post_config() will be called twice during startup. So, don't |
| 2111 | * set up the static data the 1st time through. */ |
| 2112 | if (ap_state_query(AP_SQ_MAIN_STATE) == AP_SQ_MS_CREATE_PRE_CONFIG) { |
| 2113 | return OK; |
| 2114 | } |
| 2115 | |
| 2116 | ap_proxy_clear_connection_fn = |
| 2117 | APR_RETRIEVE_OPTIONAL_FN(ap_proxy_clear_connection); |
| 2118 | if (!ap_proxy_clear_connection_fn) { |
| 2119 | ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(02477) |
| 2120 | "mod_proxy must be loaded for mod_proxy_http"); |
| 2121 | return !OK; |
| 2122 | } |
| 2123 | |
| 2124 | return OK; |
| 2125 | } |
| 2126 | |
| 2127 | static void ap_proxy_http_register_hook(apr_pool_t *p) |
| 2128 | { |
nothing calls this directly
no test coverage detected