eclipse-paho / eclipse-paho/paho.mqtt.java

MQTTv5 - Send disconnect packet when automatically disconnecting

Open
#591 0 comments 0 reactions 0 assignees View on GitHub
More Information Required
Dominant language
Java
Stars
2.3k
Forks
919
PR merge metrics
No merged PRs in 30d

Description

Please fill out the form below before submitting, thank you!

- [ ] Bug exists Release Version 1.2.0 ( Master Branch)
- [ ] Bug exists in MQTTv3 Client on Snapshot Version 1.2.1-SNAPSHOT (Develop Branch)
- [X] Bug exists in MQTTv5 Client on Snapshot Version 1.2.1-SNAPSHOT (Develop Branch)

If this is a bug regarding the Android Service, please raise the bug here instead: https://github.com/eclipse/paho.mqtt.android/issues/new

This could do with some verification first:

Although pahov5 allows the client application to send a DISCONNECT in some cases before shutting down, it does not do so itself. This is not function which should be left to the application. It is fine for the application to decide whether to continue, but if the client disconnects it should send the DISCONNECT packet first.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.