-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sends multiple CONNECT frames then crashes if 1.2 CONNECTED doesn't include optional session and server headers #179
Comments
Hi @EvelynSubarrow, I don't know what |
Hi @whikloj, not the clearest explanation on my part, selenetherium is a server. In the logs, all client frames came from stomp-php, and all server frames from selenetherium. I wrote Selenetherium as a client tester to help me build a list of compatible STOMP clients on the NROD wiki. To describe the bug here more (hopefully) more exactly, stomp-php expects a CONNECTED frame from a broker to have https://wiki.openraildata.com/index.php?title=List_of_STOMP_Client_Libraries |
This may be helpful as there are parts of this codebase that are less clear to me. So I'm compiling selenetherium, but as I'm not an Erlang developer can you tell me how to get it running and if it is possible to limit the tests run to specific ones? |
If selenetherium doesn't supply
session
andserver
headers in its CONNECTED frame:It emits a few more CONNECT frames interspersed with normal operation before eventually crashing with the error message
Unexpected response received. Expected a "CONNECTED" Frame to determine Version. Got a "Message" Frame
If
session
andserver
headers are supplied, this behaviour isn't exhibited, and it works fine.session
is ambiguously defined in 1.0, it could be interpreted as being required, but in all future versions, all headers exceptversion
are optional in CONNECTED.The text was updated successfully, but these errors were encountered: