]> granicus.if.org Git - apache/commitdiff
honor worker settings
authorJim Jagielski <jim@apache.org>
Mon, 18 Jan 2016 19:54:52 +0000 (19:54 +0000)
committerJim Jagielski <jim@apache.org>
Mon, 18 Jan 2016 19:54:52 +0000 (19:54 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1725331 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_hcheck.c

index 2ce6757d39df80d202375879c454475c59672529..34319330e3bcf3d825572865e3e445cbeb6b7446 100644 (file)
@@ -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;