From: Stefan Fritsch Date: Sat, 31 Mar 2012 15:14:08 +0000 (+0000) Subject: Merge r1302444, r1302483: X-Git-Tag: 2.4.2~47 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=835752e05f0aacd3e52a64d7dea0579573c715b0;p=apache Merge r1302444, r1302483: * Correctly save the reverse proxy worker in all virtual host proxy configs. PR: 52935 Obtained from: Petter Berntsen Committed by: rpluem Reviewed by: covener, minfrin, sf git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1307825 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index d85c757c89..990a26d3aa 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,9 @@ Changes with Apache 2.4.2 envvars: Fix insecure handling of LD_LIBRARY_PATH that could lead to the current working directory to be searched for DSOs. [Stefan Fritsch] + *) mod_proxy: Correctly set up reverse proxy worker. PR 52935. + [Petter Berntsen ] + *) mod_sed: Don't define PATH_MAX to a potentially undefined value, causing compile problems on GNU hurd. [Stefan Fritsch] diff --git a/STATUS b/STATUS index fbdaa51e5a..a05aa61c1a 100644 --- a/STATUS +++ b/STATUS @@ -95,12 +95,6 @@ PATCHES ACCEPTED TO BACKPORT FROM TRUNK: 2.4.x patch: http://people.apache.org/~fuankg/diffs/mpm_dso_exports.diff +1: fuankg, minfrin, trawick (Thanks!) - * proxy: Correctly save the reverse proxy worker in all virtual host proxy configs. - Trunk Patch: http://svn.apache.org/viewvc?rev=1302444&view=rev - http://svn.apache.org/viewvc?rev=1302483&view=rev - 2.4.x patch: http://people.apache.org/~covener/patches/httpd-2.4.x-proxy_reverse.diff - +1: covener, minfrin, sf - PATCHES PROPOSED TO BACKPORT FROM TRUNK: [ New proposals should be added at the end of the list ] diff --git a/modules/proxy/mod_proxy.c b/modules/proxy/mod_proxy.c index ede29a1c8d..8d289552d3 100644 --- a/modules/proxy/mod_proxy.c +++ b/modules/proxy/mod_proxy.c @@ -2466,6 +2466,7 @@ static void child_init(apr_pool_t *p, server_rec *s) /* Disable address cache for generic reverse worker */ reverse->s->is_address_reusable = 0; } + conf->reverse = reverse; s = s->next; } }