httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r739854 - /httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_bybusyness.c
Date Sun, 01 Feb 2009 21:53:06 GMT
Author: jim
Date: Sun Feb  1 21:53:05 2009
New Revision: 739854

URL: http://svn.apache.org/viewvc?rev=739854&view=rev
Log:
Correct logic with non-seq lbsets config'ed


Modified:
    httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_bybusyness.c

Modified: httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_bybusyness.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_bybusyness.c?rev=739854&r1=739853&r2=739854&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_bybusyness.c (original)
+++ httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_bybusyness.c Sun Feb  1 21:53:05
2009
@@ -53,7 +53,7 @@
                         max_lbset = worker->s->lbset;
                 }
 
-                if (worker->s->lbset > cur_lbset)
+                if (worker->s->lbset != cur_lbset)
                     continue;
 
                 if ( (checking_standby ? !PROXY_WORKER_IS_STANDBY(worker) : PROXY_WORKER_IS_STANDBY(worker))
)



Mime
View raw message