activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jscheid <...@git.apache.org>
Subject [GitHub] activemq-artemis pull request: ARTEMIS-239 disable ttl for STOMP c...
Date Wed, 18 Nov 2015 20:56:51 GMT
Github user jscheid commented on the pull request:

    https://github.com/apache/activemq-artemis/pull/208#issuecomment-157861049
  
    We've discussed this more on IRC and it turns out this is a bad idea.
    
    According to the STOMP protocol, the client can ask for no heartbeats (and STOMP 1.0 doesn't
support heartbeats at all) and so the server runs in danger of leaking connections when dealing
with badly behaved clients when there is no hard upper limit on connection TTL.
    
    We've agreed the correct fix is instead to improve the documentation to point out that
TTL needs to be configured correctly on the server to suit the use case, and that clients
can't expect long heart beat intervals (or no heart beating at all) to work. Also, it would
be good if Artemis could add a mechanism to configure per-acceptor TTL but that is a separate
issue.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message