In STOMP 1.0, all client connections start with:
CONNECT
That makes it very hard to discriminate a STOMP connection from an HTTP connection since CONNECT is valid HTTP verb too. This makes it hard to build a sever that can accept different types of protocols on one port.
Perhaps it would be better if STOMP 1.1 starts with an Protocol info frame before the CONNECT frame. For example:
STOMP
version=1.1
^@
CONNECT
^@
Description
In STOMP 1.0, all client connections start with:
CONNECT
That makes it very hard to discriminate a STOMP connection from an HTTP connection since CONNECT is valid HTTP verb too. This makes it hard to build a sever that can accept different types of protocols on one port.
Perhaps it would be better if STOMP 1.1 starts with an Protocol info frame before the CONNECT frame. For example: