diff options
author | Yann Ylavic <ylavic@apache.org> | 2023-09-21 15:31:15 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2023-09-21 15:31:15 +0200 |
commit | 29fb603784cdb77541817f52a9f47a10f47bc618 (patch) | |
tree | 7633fa6707edb3f59c669f63a893c7738f9940ab /include/ap_mmn.h | |
parent | mod_proxy: Consistently close the socket on failure to reuse the connection. (diff) | |
download | apache2-29fb603784cdb77541817f52a9f47a10f47bc618.tar.xz apache2-29fb603784cdb77541817f52a9f47a10f47bc618.zip |
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
Diffstat (limited to 'include/ap_mmn.h')
-rw-r--r-- | include/ap_mmn.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |