From 29fb603784cdb77541817f52a9f47a10f47bc618 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Thu, 21 Sep 2023 13:31:15 +0000 Subject: 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/ap_mmn.h') diff --git a/include/ap_mmn.h b/include/ap_mmn.h index 9028490429..839ef0550d 100644 --- a/include/ap_mmn.h +++ b/include/ap_mmn.h @@ -720,6 +720,7 @@ * 20211221.14 (2.5.1-dev) Add request_rec->final_resp_passed bit * 20211221.15 (2.5.1-dev) Add ap_get_pollfd_from_conn() * 20211221.16 (2.5.1-dev) Add ap_proxy_determine_address() + * 20211221.17 (2.5.1-dev) Add ap_proxy_worker_get_name() */ #define MODULE_MAGIC_COOKIE 0x41503235UL /* "AP25" */ @@ -727,7 +728,7 @@ #ifndef MODULE_MAGIC_NUMBER_MAJOR #define MODULE_MAGIC_NUMBER_MAJOR 20211221 #endif -#define MODULE_MAGIC_NUMBER_MINOR 16 /* 0...n */ +#define MODULE_MAGIC_NUMBER_MINOR 17 /* 0...n */ /** * Determine if the server's current MODULE_MAGIC_NUMBER is at least a -- cgit v1.2.3