ace-wg / mqtt-tls-profile

Document for MQTT-TLS-profile
Other
0 stars 2 forks source link

Section 2.2.6.1 - Warning about CONNECT #61

Closed ciseng closed 4 years ago

ciseng commented 4 years ago

Jim commented on Aug 15: Section 2.2.6.1 - I am not sure where you got this from: "Note that this is different in MQTT v5.0, the Broker is allowed to process AUTH packets even if the Broker rejects the CONNECT)." I think that if the broker rejects the connect it must CONNACK and disconnect.

ciseng commented 4 years ago

We had a discussion on the mailing list. I added the following as a result: After sending the CONNECT, the client MUST NOT send any packets other than DISCONNECT or AUTH that is in response to the broker AUTH until it has received a CONNACK. Similarly, the server MUST NOT process any packets other than DISCONNECT or an AUTH that is sent in response to its AUTH before it has sent a CONNACK. Removed the other warning message.