From a977676cd33e22472309b24a882ad3634a2cac86 Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Sat, 16 Jan 2016 20:52:58 +0000 Subject: [PATCH] some ordering optimization git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725031 13f79535-47bb-0310-9956-ffa450edef68 --- modules/proxy/mod_proxy_hcheck.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 */ -- 2.40.0