Timothy Bish created AMQ-5475:
---------------------------------

             Summary: AMQP transport does not send correct response to 
unsupported clients
                 Key: AMQ-5475
                 URL: https://issues.apache.org/jira/browse/AMQ-5475
             Project: ActiveMQ
          Issue Type: Bug
          Components: AMQP
    Affects Versions: 5.10.0, 5.9.1
            Reporter: Timothy Bish
            Assignee: Timothy Bish
             Fix For: 5.11.0


Section 2.2 of the AMQP 1.0 spec covers protocol negotiation and states that 
when a client connects and send an AMQP header with an unsupported version the 
broker should send back an AMQP header with the version supported before 
closing the socket.  This also applied if the header cannot be parsed, such as 
a HTTP client etc connecting to the AMQP transport port.  

We currently just close the socket which does not give the connecting client 
any insight into why the connect failed and allow it to try again with the 
correct protocol if supported. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to