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

Persist outbound subscribe packets #361

Merged
merged 1 commit into from Oct 23, 2019

Conversation

robbawebba
Copy link
Contributor

client: persist subscribe packets if client is connecting or reconnecting

The MQTT client has all of the logic in place to handle persisting
and resuming subscribe packets when the client is connecting
or reconnecting, but it's currently unused. This change persists
outbound SubscribePackets similar to Client.Publish() and adds an
fvt test case to validate the ResumeSubs behavior.

fixes #358

Signed-off-by: Robert Weber robertweber95@gmail.com

…ting

The MQTT client has all of the logic in place to handle persisting
and resuming subscribe packets when the client is connecting
or reconnecting, but it's currently unused. This change persists
outbound SubscribePackets similar to Client.Publish() and adds an
fvt test case to validate the ResumeSubs behavior.

fixes eclipse#358

Signed-off-by: Robert Weber <robertweber95@gmail.com>
@alsm
Copy link
Contributor

alsm commented Oct 23, 2019

Thanks for the work on this.

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

Successfully merging this pull request may close these issues.

Outbound SubscribePackets are not persisted
2 participants