Skip to content
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

Should close connection on invalid WS frame #1717

Open
varnerac opened this issue Jan 29, 2021 · 0 comments
Open

Should close connection on invalid WS frame #1717

varnerac opened this issue Jan 29, 2021 · 0 comments
Labels

Comments

@varnerac
Copy link
Contributor

To help us save time and help you faster

Before opening a new issue, please make sure that there isn't already an open (or closed/resolved) issue reporting the same problem. Please always open a new issue rather than posting to a closed one - but please reference the possibly related old issue.

Please do not insert images of text, but add the text instead.

Environment

  • VerneMQ Version: main
  • OS: any
  • Erlang/OTP version (if building from source): latest
  • VerneMQ configuration (vernemq.conf) or the changes from the default
  • Cluster size/standalone:

Expected behaviour

  • Receiving any Websocket frame other than binary should close the connection

From the MQTT 5 spec:

MQTT Control Packets MUST be sent in WebSocket binary data frames. If any other type of data frame is received the recipient MUST close the Network Connection [MQTT-6.0.0-1].

Actual behaviour

@ioolkos ioolkos added the fixes label Jan 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants