[ 
https://issues.apache.org/jira/browse/FELIX-5175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler updated FELIX-5175:
------------------------------------
    Fix Version/s: http.bridge-3.0.6
                   http.jetty-3.1.6

> Sessions are incorrectly destroyed
> ----------------------------------
>
>                 Key: FELIX-5175
>                 URL: https://issues.apache.org/jira/browse/FELIX-5175
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http.base-3.0.6, http.jetty-3.1.4, http.bridge-3.0.4
>            Reporter: J.W. Janssen
>            Assignee: J.W. Janssen
>             Fix For: http.base-3.0.8, http.jetty-3.1.6, http.bridge-3.0.6
>
>
> HttpSessionWrapper contains a static member, getExpiredSessionContextIds, 
> that determines which sessions should be destroyed based on the timeouts that 
> are set on each session.
> The implementation incorrectly assumes these timeouts are in milliseconds, 
> while the timeouts are actually set in seconds (see JavaDoc of HttpSession). 
> This means that a timeout of 300 (5 minutes) is interpreted as 300 
> milliseconds, resulting in sessions being destroyed too soon.
> (Found through ACE-528)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to