Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT-SN broker forgets published topics #4

Open
ralight opened this issue Mar 15, 2016 · 2 comments
Open

MQTT-SN broker forgets published topics #4

ralight opened this issue Mar 15, 2016 · 2 comments
Labels

Comments

@ralight
Copy link
Contributor

ralight commented Mar 15, 2016

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:

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.

@ralight ralight added the bug label Mar 15, 2016
@freebeans
Copy link

So... is it still an open issue?

@njh
Copy link
Contributor

njh commented Jul 7, 2016

@freebeans the fix by Michal Foksa has not been applied yet.

I will try submitting it as a Pull Request...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants