]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
Merge r1836381, r1836382, r1836383, r1836386, r1836603 from trunk:
authorJim Jagielski <jim@apache.org>
Tue, 11 Sep 2018 11:57:19 +0000 (11:57 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 11 Sep 2018 11:57:19 +0000 (11:57 +0000)
commitf98102a1a659f527632c196c5e7dabb7f6d1870e
tree95becb6dd2886d6a1fd09e63532639e93626c5b1
parentc7cb18efcf17322e4c477d42c6d35b605c5c7bb3
Merge r1836381, r1836382, r1836383, r1836386, r1836603 from trunk:

* mod_proxy: Remove load order and link dependency between mod_lbmethod_*
  modules and mod_proxy by providing mod_proxy's ap_proxy_balancer_get_best_worker
  as an optional function.

PR: 62557

* Remove invalid copy and paste comments

* Always retrieve conditional function. static variable might contain garbage if module was reloaded in a static build.

* Add missing log numbers

* ap_proxy_balancer_get_best_worker cannot be exported and used as an optional
  function at the same time. So rename ap_proxy_balancer_get_best_worker to
  proxy_balancer_get_best_worker and make it static which is then used as an
  optional function and recreate ap_proxy_balancer_get_best_worker as an
  exported thin wrapper of proxy_balancer_get_best_worker.

Submitted by: rpluem
Reviewed by: covener, jim, ylavic

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1840548 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
STATUS
include/ap_mmn.h
modules/proxy/balancers/mod_lbmethod_bybusyness.c
modules/proxy/balancers/mod_lbmethod_byrequests.c
modules/proxy/balancers/mod_lbmethod_bytraffic.c
modules/proxy/balancers/mod_lbmethod_heartbeat.c
modules/proxy/mod_proxy.h
modules/proxy/mod_proxy_balancer.c
modules/proxy/mod_proxy_http.c
modules/proxy/proxy_util.c