]> granicus.if.org Git - apache/commitdiff
* After r377780 the condition in the if clause never becomes true, because
authorRuediger Pluem <rpluem@apache.org>
Fri, 14 Apr 2006 11:30:04 +0000 (11:30 +0000)
committerRuediger Pluem <rpluem@apache.org>
Fri, 14 Apr 2006 11:30:04 +0000 (11:30 +0000)
  ap_proxy_initialize_worker_share is always left with PROXY_WORKER_INITIALIZED
  set in workers->s->status. So remove this code to save cycles and avoid
  confusion.

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

modules/proxy/mod_proxy_balancer.c

index 639cfd18ebe5177243c2982de09355854b821414..f3ec4f58b6ea1fb947fa5d471cc243827aa545b2 100644 (file)
@@ -88,16 +88,6 @@ 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);
-        }
         ++workers;
     }