You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "J.W. Janssen (JIRA)" <ji...@apache.org> on 2016/01/28 11:24:40 UTC

[jira] [Resolved] (FELIX-5175) Sessions are incorrectly destroyed

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

J.W. Janssen resolved FELIX-5175.
---------------------------------
    Resolution: Fixed

Solved in rev #1727299.

> 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
>            Reporter: J.W. Janssen
>            Assignee: J.W. Janssen
>             Fix For: http.base-3.0.8
>
>
> 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)