https://issues.apache.org/bugzilla/show_bug.cgi?id=56055
Bug ID: 56055
Summary: Route is not extracted properly when a session cookie
does not contain a dot
Product: Apache httpd-2
Version: 2.2-HEAD
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_balancer
Assignee: [email protected]
Reporter: [email protected]
Hi,
according to documentation: "The balancer extracts the value of the cookie and
looks for a member worker with route equal to that value."
The documentation also says: "Some back-ends use a slightly different form of
stickyness cookie, for instance Apache Tomcat. Tomcat adds the name of the
Tomcat instance to the end of its session id cookie, separated with a dot (.)
from the session id. Thus if the Apache web server finds a dot in the value of
the stickyness cookie, it only uses the part behind the dot to search for the
route."
Unfortunately it seems me http 2.2 does not consider the value from the cookie
at all unless it contains the dot. It's probably caused by this line:
https://github.com/apache/httpd/blob/2.2.x/modules/proxy/mod_proxy_balancer.c#L287
If *route does not contain a dot then the *route will be set to NULL, therefore
the subsequent condition is false.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]