From: Jim Jagielski Date: Mon, 18 Jan 2016 19:54:52 +0000 (+0000) Subject: honor worker settings X-Git-Tag: 2.5.0-alpha~2396 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43343111edf6cd1f0baeeab5657f403bc2515932;p=thirdparty%2Fapache%2Fhttpd.git honor worker settings git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725331 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy_hcheck.c b/modules/proxy/mod_proxy_hcheck.c index 2ce6757d39d..34319330e3b 100644 --- a/modules/proxy/mod_proxy_hcheck.c +++ b/modules/proxy/mod_proxy_hcheck.c @@ -352,8 +352,7 @@ static proxy_worker *hc_get_hcworker(sctx_t *ctx, proxy_worker *worker) /* Mark as the "generic" worker */ hc->s->status |= PROXY_WORKER_GENERIC; ap_proxy_initialize_worker(hc, ctx->s, ctx->p); - /* Enable address cache for generic reverse worker */ - hc->s->is_address_reusable = 1; + hc->s->is_address_reusable = worker->s->is_address_reusable; /* tuck away since we need the preparsed address */ hc->cp->addr = worker->cp->addr; hc->s->method = worker->s->method;