tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c
Date Mon, 14 Oct 2002 06:30:42 GMT
mturk       2002/10/13 23:30:42

  Modified:    jk/native2/common jk_worker_lb.c
  Log:
  Check if the worker has lb_disabled flag set, and behave like it was
  disabled.
  
  Revision  Changes    Path
  1.26      +3 -0      jakarta-tomcat-connectors/jk/native2/common/jk_worker_lb.c
  
  Index: jk_worker_lb.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_lb.c,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- jk_worker_lb.c	3 Oct 2002 01:33:15 -0000	1.25
  +++ jk_worker_lb.c	14 Oct 2002 06:30:42 -0000	1.26
  @@ -143,6 +143,7 @@
   
               if( w->mbean->disabled ) continue;
               if( w->in_error_state ) continue;
  +            if( w->lb_disabled ) continue;
   
               if( rc==NULL ) {
                   rc=w;
  @@ -182,6 +183,7 @@
               jk_worker_t *w=lb->workerTables[level][i];
   
               if( w->mbean->disabled ) continue;
  +            if( w->lb_disabled ) continue;
           
               if(w->in_error_state) {
                   /* Check if it's ready for recovery */
  @@ -221,6 +223,7 @@
                   jk_worker_t *w=lb->workerTables[level][i];
   
                   if( w->mbean->disabled == JK_TRUE ) continue;
  +                if( w->lb_disabled ) continue;
   
                   error_workers++;
   
  
  
  

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


Mime
View raw message