mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
* Add missing copy of hcuri and hcexpr ftom the worker to the health check worker.
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
This commit is contained in:
@@ -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->name, wptr);
|
||||||
PROXY_STRNCPY(hc->s->hostname, worker->s->hostname);
|
PROXY_STRNCPY(hc->s->hostname, worker->s->hostname);
|
||||||
PROXY_STRNCPY(hc->s->scheme, worker->s->scheme);
|
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.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->hash.fnv = hc->s->hash.fnv = ap_proxy_hashfunc(hc->s->name, PROXY_HASHFUNC_FNV);
|
||||||
hc->s->port = port;
|
hc->s->port = port;
|
||||||
|
Reference in New Issue
Block a user