]> granicus.if.org Git - apache/commitdiff
some ordering optimization
authorJim Jagielski <jim@apache.org>
Sat, 16 Jan 2016 20:52:58 +0000 (20:52 +0000)
committerJim Jagielski <jim@apache.org>
Sat, 16 Jan 2016 20:52:58 +0000 (20:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725031 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_hcheck.c

index f047f4fe8cde90f5a154b94edc2815b630e48cf3..f5b497b6720b1fd92c020184bf9e4db683565ae6 100644 (file)
@@ -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 */