https://bz.apache.org/bugzilla/show_bug.cgi?id=69510

            Bug ID: 69510
           Summary: Using the Balancer Manager can break stickysession.
           Product: Apache httpd-2
           Version: 2.4.62
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_balancer
          Assignee: bugs@httpd.apache.org
          Reporter: tokunou.yut...@fujitsu.com
  Target Milestone: ---

Created attachment 39959
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=39959&action=edit
Patch to remove whitespace in stickysession

When you press Submit on the balancer configuration in the Balancer Manager(*),
the stickysession is broken and the session cannot continue.
If the sticky session contains "|" it appears enclosed in blanks.
But I don't think you need the blank, is that okay?
Blank may be the cause of the problem.
Suggest an attached patch. Stickysessions are not broken.
(*) http://hostname/balancer-manager

[problem]
If you press Submit once, it broken as follows:
JSESSIONID+ | +jsessionid

If you press Submit twice, it broken as follows:
JSESSIONID++ | ++jsessionid

If you press Submit three times, it broken as follows.
JSESSIONID+++ | +++jsessionid


[httpd.conf]
ProxyPass /balancer balancer://mycluster lbmethod=byrequests
stickysession=JSESSIONID|jsessionid
<Proxy balancer://mycluster>
  BalancerMember http://127.0.0.1:8081 route=node1
  BalancerMember http://127.0.0.1:8082 route=node2
</Proxy>
<Location /balancer-manager>
  SetHandler balancer-manager
</Location>

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to