migrated from Bugzilla #424704
status ASSIGNED severity normal in component RSMB for ---
Reported in version unspecified on platform PC
Assigned to: Ian Craggs
According to the MQTT-SN spec, if a client goes to sleep by sending DISCONNECT with a timeout, and it reconnects within that period, the broker should remember all the registered topics for that client so it doesn't have to re-register.
Mosquitto/RSMB doesn't do that as can be seen in MQTTSProtocol.c:442
On 2013-12-29 06:19:26 -0500, Ian Craggs wrote:
Yes. Sleeping clients is one of the two functions not yet implemented. The other being the ability to pre-register topics. I'll leave this bug open pending the addition of the function to support sleeping clients.
On 2015-03-07 07:25:41 -0500, Michal Foksa wrote:
Created attachment 251381
Fix of Bug 424704 - If duration in disconnect request is not zero, client registrations are kept.
Here you are a fix: if duration in disconnect request is not zero, client registrations are kept.
migrated from Bugzilla #424704 status ASSIGNED severity normal in component RSMB for --- Reported in version unspecified on platform PC Assigned to: Ian Craggs
Original attachment names and IDs:
On 2013-12-27 13:57:17 -0500, John Donovan wrote:
On 2013-12-29 06:19:26 -0500, Ian Craggs wrote:
On 2015-03-07 07:25:41 -0500, Michal Foksa wrote: