Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-2511

Regression: Inactivity monitor does not time out stale connections.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.3.0
    • 5.3.2, 5.4.0
    • Broker
    • None
    • Regression

    Description

      The fix @ AMQ-2088 cause a the Inactivity Monitor to regress.

      Now when a socket is waiting to read the next message, or is in the middle of receiving the next message it sets a flag that disable the inactivity monitor from timing out the connection. The problem is that if the connection gets hung, then it won't time out since the flag is set.

      I think a better approach would be for the wireformat to expose a counter which is incremented as data is read.

      That way between inactivity check intervals the inactivity monitor can check to see if that value has changed since it's last check.

      Attachments

        Issue Links

          Activity

            People

              chirino Hiram R. Chirino
              chirino Hiram R. Chirino
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: