stomp / stomp-spec

STOMP Protocol Specification
http://stomp.github.io/
78 stars 30 forks source link

Server MUST disconnect when there is no common version negotiated #54

Closed LionelCons closed 12 years ago

LionelCons commented 12 years ago

STOMP 1.2 contains:

If the client and server do not share any common protocol versions, then the sever SHOULD respond with an ERROR frame similar to the following and then close the connection.

In fact, since both ends could not agree, it MUST respond with an ERROR frame.