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
When a client establishes a session using SessionExpiryInterval > 0, and then disconnects, then later reconnects with CleanSession=false, it does not matter if the session expiry interval has lapsed, the client will resume the prior session.
Which component is your bug related to?
Server
To Reproduce
Steps to reproduce the behavior:
Using MQTTNet v4.2.1.781
Connect a client with a specific ClientID, setting SessionExpiryInterval to 1.
Subscribe to a topic
Disconnect your client
Send messages to the topic subscribed in 3
Wait as long as you'd like past your SessionExpiryInterval
Re-connect your client with CleanSession=false
Expected behavior
Client connects, is given a new session because the prior session has expired.
Actual behavior
Client connects and resumes prior session, receives all pending messages.
The text was updated successfully, but these errors were encountered:
Describe the bug
When a client establishes a session using SessionExpiryInterval > 0, and then disconnects, then later reconnects with CleanSession=false, it does not matter if the session expiry interval has lapsed, the client will resume the prior session.
Which component is your bug related to?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Client connects, is given a new session because the prior session has expired.
Actual behavior
Client connects and resumes prior session, receives all pending messages.
The text was updated successfully, but these errors were encountered: