Commit 22d5f105 authored by Ruediger Pluem's avatar Ruediger Pluem
Browse files

* After r377780 the condition in the if clause never becomes true, because

  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
parent 12402021
Loading
Loading
Loading
Loading
+0 −10
Changes for modules/proxy/mod_proxy_balancer.c: 0 added lines, 10 removed lines.
Original line number Diff line number Diff line
@@ -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;
    }