Skip to content

fix(connection): improve connection closing and error handling#309

Merged
bittcrafter merged 1 commit intormqtt:masterfrom
bittcrafter:dev/0.17.0
Sep 24, 2025
Merged

fix(connection): improve connection closing and error handling#309
bittcrafter merged 1 commit intormqtt:masterfrom
bittcrafter:dev/0.17.0

Conversation

@bittcrafter
Copy link
Copy Markdown
Collaborator

  • Move sink.close() earlier in session termination process with proper error logging
  • Add connection close with error logging when MQTT connection is refused in v3 and v5 protocols
  • Maintain existing disconnect logic while ensuring proper resource cleanup
  • Improve error visibility by logging IO close errors in connection refusal scenarios

* Move sink.close() earlier in session termination process with proper error logging
* Add connection close with error logging when MQTT connection is refused in v3 and v5 protocols
* Maintain existing disconnect logic while ensuring proper resource cleanup
* Improve error visibility by logging IO close errors in connection refusal scenarios
@bittcrafter bittcrafter merged commit 6eefd0b into rmqtt:master Sep 24, 2025
10 checks passed
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.

1 participant