Skip to content

fix: improve MQTT protocol validation and WebSocket subprotocol support #340#341

Merged
bittcrafter merged 1 commit intormqtt:masterfrom
bittcrafter:dev/0.18.0
Nov 30, 2025
Merged

fix: improve MQTT protocol validation and WebSocket subprotocol support #340#341
bittcrafter merged 1 commit intormqtt:masterfrom
bittcrafter:dev/0.18.0

Conversation

@bittcrafter
Copy link
Copy Markdown
Collaborator

  • Bump rmqtt-codec to 0.2.1 and rmqtt-net to 0.3.2
  • Fix MQTT 3.1 protocol validation with proper length checking for MQISDP
  • Add support for "mqttv3.1" WebSocket subprotocol in addition to "mqtt"
  • Improve protocol name validation with better error handling and bounds checking
  • Maintain backward compatibility with existing MQTT 3.1.1 and 5.0 protocols

rmqtt#340

* Bump rmqtt-codec to 0.2.1 and rmqtt-net to 0.3.2
* Fix MQTT 3.1 protocol validation with proper length checking for MQISDP
* Add support for "mqttv3.1" WebSocket subprotocol in addition to "mqtt"
* Improve protocol name validation with better error handling and bounds checking
* Maintain backward compatibility with existing MQTT 3.1.1 and 5.0 protocols
@bittcrafter bittcrafter merged commit 6eb7479 into rmqtt:master Nov 30, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant