Skip to content

Commit

Permalink
Document incompatible API change which happened
Browse files Browse the repository at this point in the history
in 2.4.7. The change affects third party modules
using the mod_proxy shared memory structure 
proxy_worker_shared. Examples are third party
balancer lbmethod modules.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1738184 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Rainer Jung committed Apr 7, 2016
1 parent 87832fc commit 85f394d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 4 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -1350,8 +1350,10 @@ Changes with Apache 2.4.7
(not overridable via SSLCipherSuite). [Kaspar Brand]

*) mod_proxy: Added support for unix domain sockets as the
backend server endpoint [Jim Jagielski, Blaise Tarr
<blaise tarr gmail com>]
backend server endpoint. This also introduces an unintended
incompatibility for third party modules using the mod_proxy
proxy_worker_shared structure, especially for balancer lbmethod
modules. [Jim Jagielski, Blaise Tarr <blaise tarr gmail com>]

*) Add experimental cmake-based build system for Windows. [Jeff Trawick,
Tom Donovan]
Expand Down
5 changes: 4 additions & 1 deletion include/ap_mmn.h
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,10 @@
* 20120211.26 (2.4.7-dev) Add util_fcgi.h, FastCGI protocol support
* 20120211.27 (2.4.7-dev) Add ap_podx_restart_t and ap_mpm_podx_*
* 20120211.28 (2.4.7-dev) Add ap_regname
* 20120211.29 (2.4.7-dev) Add uds_path to proxy_conn_rec
* 20120211.29 (2.4.7-dev) Add uds_path to proxy_conn_rec and proxy_worker_shared.
* The change to proxy_worker_shared is an
* unintended API break, especially for balancer
* lbmethod modules.
* 20120211.30 (2.4.7-dev) REWRITE_REDIRECT_HANDLER_NAME in mod_rewrite.h
* 20120211.31 (2.4.7-dev) Add ap_proxy_port_of_scheme()
* 20120211.32 (2.4.10-dev) Add SSL reusable SNI to mod_proxy.h's proxy_conn_rec
Expand Down
1 change: 1 addition & 0 deletions modules/proxy/mod_proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ typedef struct {
} proxy_hashes ;

/* Runtime worker status informations. Shared in scoreboard */
/* The addition of member uds_path in 2.4.7 was an incompatible API change. */
typedef struct {
char name[PROXY_WORKER_MAX_NAME_SIZE];
char scheme[PROXY_WORKER_MAX_SCHEME_SIZE]; /* scheme to use ajp|http|https */
Expand Down

0 comments on commit 85f394d

Please sign in to comment.