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
I'm using mosquitto 1.4.12 configured with persistence storage.
Client is connected with retained "will message" with payload 0 (which means disconnected), on connect client sends retained message to the same topic with payload 2 (which means connected).
If connection is lost or keep-alive interval exceeded mosquitto set payload to 0 (will message), but if I restarted mosquitto and the client lost connection at the same time and will not restore connection I've got message with payload 2.
In such scenario connection status is incorrect.
I expect that mosquitto should set payload to "will message" on restart or after keep-alive interval.
The text was updated successfully, but these errors were encountered:
I'm using mosquitto 1.4.12 configured with persistence storage.
Client is connected with retained "will message" with payload 0 (which means disconnected), on connect client sends retained message to the same topic with payload 2 (which means connected).
If connection is lost or keep-alive interval exceeded mosquitto set payload to 0 (will message), but if I restarted mosquitto and the client lost connection at the same time and will not restore connection I've got message with payload 2.
In such scenario connection status is incorrect.
I expect that mosquitto should set payload to "will message" on restart or after keep-alive interval.
The text was updated successfully, but these errors were encountered: