You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by gl...@apache.org on 2005/04/09 17:29:14 UTC

cvs commit: jakarta-tomcat-connectors/jk/native/common jk_lb_worker.c

glenn       2005/04/09 08:29:14

  Modified:    jk/native/common jk_lb_worker.c
  Log:
  BUG: 34358 loadbalance.method=[T]raffic not enbaled
  
  The lbworker->lbmethod was not being intialized from the
  worker.properties config.
  
  Fixed bug based on mladen's recommendation.
  
  Revision  Changes    Path
  1.75      +3 -1      jakarta-tomcat-connectors/jk/native/common/jk_lb_worker.c
  
  Index: jk_lb_worker.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_lb_worker.c,v
  retrieving revision 1.74
  retrieving revision 1.75
  diff -u -r1.74 -r1.75
  --- jk_lb_worker.c	26 Mar 2005 09:28:56 -0000	1.74
  +++ jk_lb_worker.c	9 Apr 2005 15:29:14 -0000	1.75
  @@ -821,6 +821,8 @@
       if (p->s->recover_wait_time < WAIT_BEFORE_RECOVER)
           p->s->recover_wait_time = WAIT_BEFORE_RECOVER;
   
  +    p->lbmethod = jk_get_lb_method(props, p->s->name);
  +
       JK_INIT_CS(&(p->cs), i);
       if (i == JK_FALSE) {
           jk_log(log, JK_LOG_ERROR,
  
  
  

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