]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r1757662 from trunk:
authorJim Jagielski <jim@apache.org>
Tue, 30 Aug 2016 12:14:37 +0000 (12:14 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 30 Aug 2016 12:14:37 +0000 (12:14 +0000)
* Add missing copy of hcuri and hcexpr ftom the worker to the health check worker.

PR: 60038
Submitted by: zdeno <zdeno@scnet.sk>

Submitted by: rpluem
Reviewed/backported by: jim

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1758373 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
modules/proxy/mod_proxy_hcheck.c

diff --git a/CHANGES b/CHANGES
index 090262cd4dabd9f3437dc265201b56a4885d2b2f..0edf11cb0cf7e9655525fefce4065085ea3887d4 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -2,6 +2,9 @@
 
 Changes with Apache 2.4.24
 
+  *) mod_proxy_hcheck: Set health check URI and expression correctly for health
+     check worker. PR 60038 [zdeno <zdeno@scnet.sk>]
+
   *) mod_http2: if configured with nghttp2 1.14.0 and onward, invalid request
      headers will immediately reset the stream with a PROTOCOL error. Feature
      logged by module on startup as 'INVHD' in info message.
diff --git a/STATUS b/STATUS
index c15472de5f4ea778a98e20f585c2bc991f707339..82e19dc50d4f2ac255d29f331f62286c9fd2c11d 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -117,14 +117,6 @@ RELEASE SHOWSTOPPERS:
 PATCHES ACCEPTED TO BACKPORT FROM TRUNK:
   [ start all new proposals below, under PATCHES PROPOSED. ]
 
-  *) mod_proxy_hcheck: Add missing copy of hcuri and hcexpr ftom the worker to
-     the health check worker.
-     Trunk version of patch:
-      http://svn.apache.org/r1757662
-     Backport version for 2.4.x of patch:
-      Trunk version of patch works
-      CHANGES in http://svn.apache.org/r1757663
-     +1: rpluem, jim, covener
 
 PATCHES PROPOSED TO BACKPORT FROM TRUNK:
   [ New proposals should be added at the end of the list ]
index 0143fd45a5e59838838b264a7ac3497aeca79592..0dee1b4595099bd59e5e069723eef57f7f21d480 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;