mirror of
https://github.com/apache/httpd.git
synced 2025-08-15 23:27:39 +00:00
suggestion from ylavic
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1789387 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -976,7 +976,12 @@ static apr_status_t hc_watchdog_callback(int state, void *data,
|
||||
}
|
||||
return rv;
|
||||
}
|
||||
|
||||
static int hc_pre_config(apr_pool_t *pconf, apr_pool_t *plog,
|
||||
apr_pool_t *ptemp)
|
||||
{
|
||||
tpsize = HC_THREADPOOL_SIZE;
|
||||
return OK;
|
||||
}
|
||||
static int hc_post_config(apr_pool_t *p, apr_pool_t *plog,
|
||||
apr_pool_t *ptemp, server_rec *main_s)
|
||||
{
|
||||
@ -1196,6 +1201,7 @@ static void hc_register_hooks(apr_pool_t *p)
|
||||
APR_REGISTER_OPTIONAL_FN(hc_show_exprs);
|
||||
APR_REGISTER_OPTIONAL_FN(hc_select_exprs);
|
||||
APR_REGISTER_OPTIONAL_FN(hc_valid_expr);
|
||||
ap_hook_pre_config(hc_pre_config, NULL, NULL, APR_HOOK_MIDDLE);
|
||||
ap_hook_post_config(hc_post_config, aszPre, aszSucc, APR_HOOK_LAST);
|
||||
ap_hook_expr_lookup(hc_expr_lookup, NULL, NULL, APR_HOOK_MIDDLE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user