-
Notifications
You must be signed in to change notification settings - Fork 931
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
MQTT5 Spec error #146
Comments
Hi @RoanBrand |
已收到您的邮件~
|
感谢您的来信,我会尽快阅读的。- 致敬 谭建程
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I believe I found an error in the MQTT5 spec.
Apologies for posting it here, as I see no way of contacting on mqtt.org.
On page 35, lines 737-738:
Setting Clean Start to 0 and no Session Expiry Interval, is equivalent to setting CleanSession to 0 in the MQTT Specification Version 3.1.1.
But a bit up line 717-718:
If the Session Expiry Interval is absent the value 0 is used. If it is set to 0, or is absent, the Session ends when the Network Connection is closed.
This is in contradiction with MQTT 3.1.1 as the session does not end, and lives forever? It must rather say:
Setting Clean Start to 0 and Session Expiry Interval to 0xFFFFFFFF (UINT_MAX), is equivalent to setting CleanSession to 0 in the MQTT Specification Version 3.1.1.
Please correct me if wrong and misunderstanding this
The text was updated successfully, but these errors were encountered: