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: improve disconnect reconnect handling #2866

Merged
merged 1 commit into from
Jan 11, 2024
Merged

mqtt: improve disconnect reconnect handling #2866

merged 1 commit into from
Jan 11, 2024

Conversation

sreimers
Copy link
Member

@sreimers sreimers commented Jan 8, 2024

If return code (rc) is not zero, the disconnect is unexepected and a reconnect should always be started.

Fixes #2865 (has to be tested)

If return code (rc) is not zero, the disconnect is unexepected and a
reconnect should be started.
@sreimers sreimers changed the title mqtt: improve disconnect retry handling mqtt: improve disconnect reconnect handling Jan 8, 2024
@sreimers sreimers marked this pull request as ready for review January 11, 2024 08:01
@sreimers sreimers merged commit 894206e into main Jan 11, 2024
17 checks passed
@sreimers sreimers deleted the mqtt_reconnect branch January 11, 2024 08:01
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.

MQTT client does not reconnect after connection issues
1 participant