httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r111711 - /httpd/httpd/trunk/modules/proxy/proxy_balancer.c
Date Mon, 13 Dec 2004 13:40:27 GMT
Author: jim
Date: Mon Dec 13 05:40:25 2004
New Revision: 111711

URL: http://svn.apache.org/viewcvs?view=rev&rev=111711
Log:
Seems to me that if we have a worker which is usable, we
should return that. Otherwise we have no worker (worker
is NULL) and we should return that or else the if clause
takes care of setting worker correctly.

Modified:
   httpd/httpd/trunk/modules/proxy/proxy_balancer.c

Modified: httpd/httpd/trunk/modules/proxy/proxy_balancer.c
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/proxy/proxy_balancer.c?view=diff&rev=111711&p1=httpd/httpd/trunk/modules/proxy/proxy_balancer.c&r1=111710&p2=httpd/httpd/trunk/modules/proxy/proxy_balancer.c&r2=111711
==============================================================================
--- httpd/httpd/trunk/modules/proxy/proxy_balancer.c	(original)
+++ httpd/httpd/trunk/modules/proxy/proxy_balancer.c	Mon Dec 13 05:40:25 2004
@@ -194,8 +194,6 @@
             if (worker && !PROXY_WORKER_IS_USABLE(worker))
                 worker = NULL;
         }
-        else
-            worker = NULL;
         return worker;
     }
     else

Mime
View raw message