You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Christopher L. Shannon (JIRA)" <ji...@apache.org> on 2018/03/02 16:38:00 UTC

[jira] [Created] (ARTEMIS-1727) Broker should close socket on failed connection attempt using OpenWire

Christopher L. Shannon created ARTEMIS-1727:
-----------------------------------------------

             Summary: Broker should close socket on failed connection attempt using OpenWire
                 Key: ARTEMIS-1727
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1727
             Project: ActiveMQ Artemis
          Issue Type: Bug
          Components: OpenWire
    Affects Versions: 2.4.0
            Reporter: Christopher L. Shannon
            Assignee: Christopher L. Shannon
             Fix For: 2.5.0


This is related to a patch I did for 5.x : AMQ-6561

The OpenWire client will only close a connection failed connection attempt automatically on a security error but not other JMSExceptions such as Invalid client ids.  Because of this it's possible a misbehaving client can leave open sockets that won't be closed.  The broker should detect a failed open wire connection attempt and make sure the socket is killed.

Note that the CORE client does not seem to have this problem because it does properly handle all JMS exceptions on initial connect/authorization and close itself.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)