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:10:30 UTC
cvs commit: jakarta-tomcat/src/native/mod_jk/common jk_lb_worker.c
danmil 01/01/10 19:10:30
Modified: src/native/mod_jk/common 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
1.3 +1 -1 jakarta-tomcat/src/native/mod_jk/common/jk_lb_worker.c
Index: jk_lb_worker.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat/src/native/mod_jk/common/jk_lb_worker.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- jk_lb_worker.c 2000/11/10 18:48:50 1.2
+++ jk_lb_worker.c 2001/01/11 03:10:30 1.3
@@ -58,7 +58,7 @@
* several workers. *
* Author: Gal Shachor <sh...@il.ibm.com> *
* Based on: *
- * Version: $Revision: 1.2 $ *
+ * Version: $Revision: 1.3 $ *
***************************************************************************/
#include "jk_pool.h"
@@ -133,7 +133,7 @@
* string if appended...
*/
if(id_end = strchr(id_start, '?')) {
- id_end = NULL;
+ *id_end = '\0';
}
return id_start;
}