From: Jim Jagielski Date: Sat, 16 Jan 2016 20:52:58 +0000 (+0000) Subject: some ordering optimization X-Git-Tag: 2.5.0-alpha~2416 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a977676cd33e22472309b24a882ad3634a2cac86;p=apache some ordering optimization git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725031 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_hcheck.c b/modules/proxy/mod_proxy_hcheck.c index f047f4fe8c..f5b497b672 100644 --- a/modules/proxy/mod_proxy_hcheck.c +++ b/modules/proxy/mod_proxy_hcheck.c @@ -517,9 +517,10 @@ static const command_rec command_table[] = { static void hc_register_hooks(apr_pool_t *p) { - static const char *const runAfter[] = { "mod_watchdog.c", "mod_proxy_balancer.c", NULL}; + static const char *const runAfter[] = { "mod_proxy_balancer.c", "mod_proxy.c", NULL}; + static const char *const runBefore[] = { "mod_watchdog.c", NULL}; APR_REGISTER_OPTIONAL_FN(set_worker_hc_param); - ap_hook_post_config(hc_post_config, NULL, runAfter, APR_HOOK_LAST); + ap_hook_post_config(hc_post_config, runAfter, runBefore, APR_HOOK_LAST); } /* the main config structure */