httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r739853 - /httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_byrequests.c
Date Sun, 01 Feb 2009 21:52:55 GMT
Author: jim
Date: Sun Feb  1 21:52:54 2009
New Revision: 739853

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


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

Modified: httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_byrequests.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_byrequests.c?rev=739853&r1=739852&r2=739853&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_byrequests.c (original)
+++ httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_byrequests.c Sun Feb  1 21:52:54
2009
@@ -94,7 +94,7 @@
                     if (worker->s->lbset > max_lbset)
                         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))
)
                     continue;



Mime
View raw message