-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5
-
Fix Version/s: None
-
Component/s: futures
-
Labels:None
-
Proposal:
-
Resolution:
The Will message is created on CONNECT and is published by the Server
if the network connection is lost without a DISCONNECT packet being
processed.
Jira 249 introduces the idea of a Session expiry interval, such that a
session can be deleted by the client and server some time after
an Network disconnection.
This Jira discusses whether another Will message should flow when
the client's Session is deleted. Possible approaches include:
1) Allowing a second Session Expiry will message to flow in the CONNECT packet,
in addition to the current Network Disconnection will message,
and publishing this when the session either expires or is deleted by an administrator.
2)Signaling via a flag in the CONNECT packet that the Will message
should be published when the session expires or is deleted,
instead of when the network is disconnected.