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

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

     [ https://issues.apache.org/jira/browse/ARTEMIS-1727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Bertram resolved ARTEMIS-1727.
-------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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)