You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sandeep More (Jira)" <ji...@apache.org> on 2023/01/18 14:27:00 UTC
[jira] [Created] (KNOX-2863) LB does not work when session cookie is not the first cookie
Sandeep More created KNOX-2863:
----------------------------------
Summary: LB does not work when session cookie is not the first cookie
Key: KNOX-2863
URL: https://issues.apache.org/jira/browse/KNOX-2863
Project: Apache Knox
Issue Type: Bug
Components: Server
Reporter: Sandeep More
Assignee: Sandeep More
There is a bug in the code where we try to find the first cookie instead of checking for all cookies in ConfigurableHADispatch class.
{code:java}
sessionCookie =
Arrays.stream(inboundRequest.getCookies())
.findFirst()
.filter(cookie -> stickySessionCookieName.equals(cookie.getName()));
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)