You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2014/12/17 13:41:13 UTC

[jira] [Created] (AMQ-5490) broker does not write out supported version header

Gordon Sim created AMQ-5490:
-------------------------------

             Summary: broker does not write out supported version header
                 Key: AMQ-5490
                 URL: https://issues.apache.org/jira/browse/AMQ-5490
             Project: ActiveMQ
          Issue Type: Bug
          Components: AMQP
    Affects Versions: 5.10.0
            Reporter: Gordon Sim


If a pre 1.0 client attempt to connect, the broker simply closes the socket on reading the protocol-header sent by the client. This prevents the client from realising it is a mismatched version (and possibly trying with 1.0)

>From the spec (2.2):

{noformat}
    If the requested protocol version is not supported, the server MUST
    send a protocol header with a supported protocol version and then
    close the socket.

and

    If the server cannot parse the protocol header, the server MUST send
    a valid protocol header with a supported protocol version and then 
    close the socket.
{noformat}





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