tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r750069 - /tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c
Date Wed, 04 Mar 2009 16:39:20 GMT
Author: rjung
Date: Wed Mar  4 16:39:19 2009
New Revision: 750069

URL: http://svn.apache.org/viewvc?rev=750069&view=rev
Log:
Use port == 0 as a disable indicator instead
of addr_sequence. That makes it more consistent.

Modified:
    tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c?rev=750069&r1=750068&r2=750069&view=diff
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_lb_worker.c Wed Mar  4 16:39:19 2009
@@ -1560,7 +1560,7 @@
                 if (p->lb_workers[i].worker->type == JK_AJP13_WORKER_TYPE ||
                     p->lb_workers[i].worker->type == JK_AJP14_WORKER_TYPE) {
                     ajp_worker_t *aw = (ajp_worker_t *)p->lb_workers[i].worker->worker_private;
-                    if (!aw->addr_sequence) {
+                    if (aw->port == 0) {
                         p->lb_workers[i].activation = JK_LB_ACTIVATION_STOPPED;
                     }
                 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message