stompgem / stomp

A ruby gem for sending and receiving messages from a Stomp protocol compliant message queue. Includes: failover logic, ssl support.
http://stomp.github.com
Apache License 2.0
152 stars 80 forks source link

1.0 server CONNECTED frame erroneously raises UnsupportedProtocolError #44

Closed gmallard closed 12 years ago

gmallard commented 12 years ago

Current Scenario:

This is erroneous behavior. The STOMP client should:

Note: if the client connects with a more complex header like: "accept-version" => "1.1, 3.14159, 1.0" , where "1.0" is a listed option, the connection should proceed without error as described above.

Note: if "1.0" is not listed in the "accept-version" header, the Stomp::Error::UnsupportedProtocolError should continue to be raised.