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

MQTT5 Spec error #146

Open
RoanBrand opened this issue Aug 3, 2022 · 3 comments
Open

MQTT5 Spec error #146

RoanBrand opened this issue Aug 3, 2022 · 3 comments

Comments

@RoanBrand
Copy link

RoanBrand commented Aug 3, 2022

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

@ahelmbr
Copy link

ahelmbr commented Aug 22, 2022

Hi @RoanBrand
Think you are right. Will forward this issue to mqtt.org to correct/clarify this non-normative comment.

@zzj1993
Copy link

zzj1993 commented Aug 22, 2022 via email

@TanNingMeng
Copy link

TanNingMeng commented Aug 22, 2022 via email

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

No branches or pull requests

4 participants