[
https://issues.apache.org/jira/browse/KNOX-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17680874#comment-17680874
]
ASF subversion and git services commented on KNOX-2863:
-------------------------------------------------------
Commit 481c8db838884ba9842fc1f7d3f0f4cd83a96164 in knox's branch
refs/heads/dependabot/npm_and_yarn/knox-token-management-ui/json5-2.2.3 from
Sandeep Moré
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=481c8db83 ]
KNOX-2863 - Fix an issue where session cookie order in LB feature breaks (#715)
> 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
> Priority: Major
> Fix For: 2.0.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)