mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
* Always retrieve conditional function. static variable might contain garbage if module was reloaded in a static build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1836383 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -857,14 +857,12 @@ static int balancer_post_config(apr_pool_t *pconf, apr_pool_t *plog,
|
||||
return OK;
|
||||
}
|
||||
|
||||
ap_proxy_retry_worker_fn =
|
||||
APR_RETRIEVE_OPTIONAL_FN(ap_proxy_retry_worker);
|
||||
if (!ap_proxy_retry_worker_fn) {
|
||||
ap_proxy_retry_worker_fn =
|
||||
APR_RETRIEVE_OPTIONAL_FN(ap_proxy_retry_worker);
|
||||
if (!ap_proxy_retry_worker_fn) {
|
||||
ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(02230)
|
||||
"mod_proxy must be loaded for mod_proxy_balancer");
|
||||
return !OK;
|
||||
}
|
||||
ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(02230)
|
||||
"mod_proxy must be loaded for mod_proxy_balancer");
|
||||
return !OK;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user