Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1727

Broker should close socket on failed connection attempt using OpenWire

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • OpenWire
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              cshannon Christopher L. Shannon
              cshannon Christopher L. Shannon
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: