You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by da...@apache.org on 2001/01/11 04:07:12 UTC

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

danmil      01/01/10 19:07:12

  Modified:    src/native/jk Tag: tomcat_32 jk_lb_worker.c
  Log:
  Fixed bug with how the load balancer reads the session id out of the cookie.
  
  PR #603.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.1   +2 -2      jakarta-tomcat/src/native/jk/Attic/jk_lb_worker.c
  
  Index: jk_lb_worker.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/native/jk/Attic/jk_lb_worker.c,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- jk_lb_worker.c	2000/05/29 12:53:24	1.2
  +++ jk_lb_worker.c	2001/01/11 03:07:11	1.2.2.1
  @@ -58,7 +58,7 @@
    *              several workers.                                           *
    * Author:      Gal Shachor <sh...@il.ibm.com>                           *
    * Based on:                                                               *
  - * Version:     $Revision: 1.2 $                                               *
  + * Version:     $Revision: 1.2.2.1 $                                               *
    ***************************************************************************/
   
   #include "jk_pool.h"
  @@ -166,7 +166,7 @@
                           char *id_end;
                           id_start = jk_pool_strdup(s->pool, id_start);
                           if(id_end = strchr(id_start, ';')) {
  -                            id_end = NULL;
  +                            *id_end = '\0';
                           }
                           return id_start;
                       }