You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The value of the Protocol Version field for version 5.0 of the protocol is 5 (0x05)
The value of the Protocol Level field for the version 3.1.1 of the protocol is 4 (0x04)
The Server MUST respond to the CONNECT Packet with a CONNACK return code 0x01 (unacceptable protocol level) and then disconnect the Client if the Protocol Level is not supported by the Server [MQTT-3.1.2-2].
The parser emits an error if I feed it a packet with protocol level of 5. This means the mqtt-connection never emits the connect packet, even though it's well formed. It should be the responsibility of the connect handler in the server implementation to validate the protocol level and comply with MQTT-3.1.2-2
The text was updated successfully, but these errors were encountered:
The parser emits an
error
if I feed it a packet with protocol level of 5. This means themqtt-connection
never emits theconnect
packet, even though it's well formed. It should be the responsibility of theconnect
handler in the server implementation to validate the protocol level and comply with MQTT-3.1.2-2The text was updated successfully, but these errors were encountered: