]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* Add missing copy of hcuri and hcexpr ftom the worker to the health check worker.
authorRuediger Pluem <rpluem@apache.org>
Thu, 25 Aug 2016 11:38:07 +0000 (11:38 +0000)
committerRuediger Pluem <rpluem@apache.org>
Thu, 25 Aug 2016 11:38:07 +0000 (11:38 +0000)
PR: 60038
Submitted by: zdeno <zdeno@scnet.sk>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1757662 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_hcheck.c

index d958b5dafff2c8fac00142c65ce48bc46e07eff3..82ea3c9828f2631f4620f2c1c6adc25a844161f0 100644 (file)
@@ -426,6 +426,8 @@ static proxy_worker *hc_get_hcworker(sctx_t *ctx, proxy_worker *worker,
         PROXY_STRNCPY(hc->s->name,     wptr);
         PROXY_STRNCPY(hc->s->hostname, worker->s->hostname);
         PROXY_STRNCPY(hc->s->scheme,   worker->s->scheme);
+        PROXY_STRNCPY(hc->s->hcuri,    worker->s->hcuri);
+        PROXY_STRNCPY(hc->s->hcexpr,   worker->s->hcexpr);
         hc->hash.def = hc->s->hash.def = ap_proxy_hashfunc(hc->s->name, PROXY_HASHFUNC_DEFAULT);
         hc->hash.fnv = hc->s->hash.fnv = ap_proxy_hashfunc(hc->s->name, PROXY_HASHFUNC_FNV);
         hc->s->port = port;