]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_proxy: Add ap_proxy_worker_get_name() and deprecate ap_proxy_worker_name().
authorYann Ylavic <ylavic@apache.org>
Thu, 21 Sep 2023 13:31:15 +0000 (13:31 +0000)
committerYann Ylavic <ylavic@apache.org>
Thu, 21 Sep 2023 13:31:15 +0000 (13:31 +0000)
commit29fb603784cdb77541817f52a9f47a10f47bc618
tree7633fa6707edb3f59c669f63a893c7738f9940ab
parentd11d0b8aa8b10979344f333581a3a258c62dcdb9
mod_proxy: Add ap_proxy_worker_get_name() and deprecate ap_proxy_worker_name().

The latter requires a pool and returns a non constant string although it may
return worker shared data.

By computing the worker "UDS" name at init time we can return a constant name
in any case with no need for a pool, that's the new ap_proxy_worker_get_name().

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1912461 13f79535-47bb-0310-9956-ffa450edef68
include/ap_mmn.h
modules/proxy/mod_proxy.c
modules/proxy/mod_proxy.h
modules/proxy/mod_proxy_balancer.c
modules/proxy/proxy_util.c