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
Please fill out the form below before submitting, thank you!
[ X] Bug exists Release Version 1.2.5 ( Master Branch)
Bug exists in MQTTv3 Client on Snapshot Version 1.2.6-SNAPSHOT (Develop Branch)
[ X] Bug exists in MQTTv5 Client on Snapshot Version 1.2.6-SNAPSHOT (Develop Branch)
The Javadoc of the methods getSessionExpiryInterval (L498-506) and setSessionExpiryInterval (L508-529) in MqttConnectionOptions class are false and seriously mislead the user. This javadoc states that "By default this value is null and so will not be sent, in this case, the session will not expire.". The first part of the sentence is true, the second is false. Indeed, in the section 3.1.2.11.2 the MQTT v5 specification says: "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."
The error is also present in comment line 102.
The text was updated successfully, but these errors were encountered:
Please fill out the form below before submitting, thank you!
The Javadoc of the methods getSessionExpiryInterval (L498-506) and setSessionExpiryInterval (L508-529) in MqttConnectionOptions class are false and seriously mislead the user. This javadoc states that "By default this value is null and so will not be sent, in this case, the session will not expire.". The first part of the sentence is true, the second is false. Indeed, in the section 3.1.2.11.2 the MQTT v5 specification says: "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."
The error is also present in comment line 102.
The text was updated successfully, but these errors were encountered: