Hi,

        The load balancer worker fail to handle load balancing (with sticky
sessions) if the application uses custom cookies.

        In some circumstances, the load balancer worker can't retreive the server
name from the JSessionID cookie and is not able to redirect to the good
server.

        The algorithm parse the cookie header to extract the server name from the
JSessionID cookie. It find properly the end of the server name but fail to
cut the chars after.
So, it works fine if the cookie header contains only one cookie (or if
JSessionID is the last cookie) but If they are custom cookie, the server
name extracted will be: "servername;mycookieVal=myCookieValue ......"

        The bug is fixed around line 170.
(line id_end=NULL; replaced by id_end[0] = '\0'; )

        'hope this will be integrated in future versions ! (as our customers need
sticky load balancing...)

        regards.

Benoit

jk_lb_worker.c

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to