summaryrefslogtreecommitdiffstats
path: root/modules/proxy/mod_proxy.c
diff options
context:
space:
mode:
authorRuediger Pluem <rpluem@apache.org>2012-03-19 14:53:28 +0100
committerRuediger Pluem <rpluem@apache.org>2012-03-19 14:53:28 +0100
commitb5bd03bd4ecad50d57566daf74f9022e3a78eb57 (patch)
tree47dd8a92591401dcab6abe98982061120c18994f /modules/proxy/mod_proxy.c
parentRebuild (diff)
downloadapache2-b5bd03bd4ecad50d57566daf74f9022e3a78eb57.tar.xz
apache2-b5bd03bd4ecad50d57566daf74f9022e3a78eb57.zip
* Correctly save the reverse proxy worker in all virtual host proxy configs.
PR: 52935 Obtained from: Petter Berntsen <petterb gmail.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1302444 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--modules/proxy/mod_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/proxy/mod_proxy.c b/modules/proxy/mod_proxy.c
index ede29a1c8d..b79feae80b 100644
--- a/modules/proxy/mod_proxy.c
+++ b/modules/proxy/mod_proxy.c
@@ -2461,11 +2461,11 @@ static void child_init(apr_pool_t *p, server_rec *s)
ap_proxy_hashfunc(reverse->s->name, PROXY_HASHFUNC_FNV);
/* Do not disable worker in case of errors */
reverse->s->status |= PROXY_WORKER_IGNORE_ERRORS;
- conf->reverse = reverse;
ap_proxy_initialize_worker(conf->reverse, s, conf->pool);
/* Disable address cache for generic reverse worker */
reverse->s->is_address_reusable = 0;
}
+ conf->reverse = reverse;
s = s->next;
}
}