mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
mod_proxy: Make ap_proxy_retry_worker() into an optional function. Allows
mod_lbmethod_bybusyness, mod_lbmethod_byrequests, mod_lbmethod_bytraffic and mod_lbmethod_heartbeat to be loaded without mod_proxy yet being present, which happens when modules are loaded in alphabetical order. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209754 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include "apr_optional.h"
|
||||
#include "scoreboard.h"
|
||||
#include "mod_status.h"
|
||||
#include "proxy_util.h"
|
||||
|
||||
#if (MODULE_MAGIC_NUMBER_MAJOR > 20020903)
|
||||
#include "mod_ssl.h"
|
||||
@@ -2512,6 +2513,8 @@ static void register_hooks(apr_pool_t *p)
|
||||
/* child init handling */
|
||||
ap_hook_child_init(child_init, aszPred, NULL, APR_HOOK_MIDDLE);
|
||||
|
||||
/* register optional functions within proxy_util.c */
|
||||
proxy_util_register_hooks(p);
|
||||
}
|
||||
|
||||
AP_DECLARE_MODULE(proxy) =
|
||||
|
Reference in New Issue
Block a user