[ 
https://issues.apache.org/jira/browse/KNOX-2863?focusedWorklogId=840013&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-840013
 ]

ASF GitHub Bot logged work on KNOX-2863:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Jan/23 16:07
            Start Date: 18/Jan/23 16:07
    Worklog Time Spent: 10m 
      Work Description: moresandeep opened a new pull request, #715:
URL: https://github.com/apache/knox/pull/715

   
   ## What changes were proposed in this pull request?
   
   Fix a bug which causes LB to break when sticky session cookie is not the 
first one.
   
   ## How was this patch tested?
   
   Unit tests.




Issue Time Tracking
-------------------

            Worklog Id:     (was: 840013)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>          Time Spent: 10m
>  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)

Reply via email to