]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r394065 and r394446 from trunk.
authorPaul Querna <pquerna@apache.org>
Sat, 22 Apr 2006 01:35:50 +0000 (01:35 +0000)
committerPaul Querna <pquerna@apache.org>
Sat, 22 Apr 2006 01:35:50 +0000 (01:35 +0000)
PR: 38227, 38267
Reviewed By:  rpluem, jim, wrowe

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

CHANGES
modules/proxy/mod_proxy_balancer.c

diff --git a/CHANGES b/CHANGES
index 09317de185146bdae8771a60f71dafe0acb630e2..407e446df5b518106dc8e9b01199d1f654e1eaa9 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,9 @@ Changes with Apache 2.2.2
   *) mod_deflate: work correctly in an internal redirect
      [Brian J. France <list firehawksystems com>]
 
+  *) mod_proxy_balancer: Initialize members of a balancer correctly.
+     PR 38227. [James A. Robinson <jim.robinson stanford.edu>]
+
   *) mod_proxy: Do not release connections from connection pool twice.
      PR 38793. [Ruediger Pluem, matthias <mk-asf gigacodes.de>]
 
index 80b8332928a8e18a6fd63a091c8c95aa9bc4aa9d..3e3bd43dd1de9153611df01811d31597326e39d0 100644 (file)
@@ -84,16 +84,7 @@ static int init_balancer_members(proxy_server_conf *conf, server_rec *s,
 
     for (i = 0; i < balancer->workers->nelts; i++) {
         ap_proxy_initialize_worker_share(conf, workers, s);
-        if (!(workers->s->status & PROXY_WORKER_INITIALIZED)) {
-            workers->s->status |= (workers->status | PROXY_WORKER_INITIALIZED);
-            ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, s,
-                         "proxy: BALANCER: initialized balancer member %d for "
-                         "balancer %s in child %" APR_PID_T_FMT " for (%s) "
-                         "min=%d max=%d smax=%d",
-                          workers->id, balancer->name, getpid(),
-                          workers->hostname, workers->min, workers->hmax,
-                          workers->smax);
-        }
+        ap_proxy_initialize_worker(workers, s);
         ++workers;
     }