Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1789

Bring back bumpTimeout in setMaxInactiveInterval of HttpSession


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 2.0.37.Final, 2.2.11.Final
    • None
    • None
    • None

      I have been asked by flaviarnn to submit this issue:

      We used in our code setMaxInactiveInterval() method (indirectly by using HttpSession) to dynamically switch on/off timeouts. It worked perfectly on Wildfly 19.0.0.Final (which contains undertow-core v2.0.30), but suddenly stopped working when app has been migrated to spring-boot v.2.3.2.RELEASE (with embedded undertow-core v2.1.3.Final). Unfortunately our code invokes setMaxInactiveInterval() method outside of http request/response lifecycle. My question is if it is a chance to bring back the old functionality (with bumpTimeout() into setMaxInactiveInterval() or we should implement our own http session timeout mechanism?


            rhn-cservice-bbaranow Bartosz Baranowski
            maniek454545 Marcin Tomasik (Inactive)
            1 Vote for this issue
            3 Start watching this issue