]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy: Fix icomplete initialization of BalancerMember(s) from the manager.
authorYann Ylavic <ylavic@apache.org>
Mon, 12 Jul 2021 10:32:21 +0000 (10:32 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 12 Jul 2021 10:32:21 +0000 (10:32 +0000)
commitff0f512db16ea533789dd391d4db539946262843
tree32aafc6266031b95066bd9aae62c192a5b20891a
parentc07608101f0700fb93001eb32935445777c6dab5
mod_proxy: Fix icomplete initialization of BalancerMember(s) from the manager.

Clear the workers created in ap_proxy_sync_balancer(), notably ->local_status
for below ap_proxy_initialize_worker() to initialize all the child structures
like ->cp and ->cp->reslist, avoiding a possible crash when the workers are
used at runtime.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1891477 13f79535-47bb-0310-9956-ffa450edef68
changes-entries/ap_proxy_sync_balancer.txt [new file with mode: 0644]
modules/proxy/proxy_util.c