J.W. Janssen created FELIX-5175:
-----------------------------------

             Summary: 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)

Reply via email to