-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Autopaho: Call error call back a maximum of once per connection
autoPaho had the potential to call the error call beck multiple times in relation to one event. This mirrored the paho functionality but does not make much sense from an end user perspective, so this change prevents multiple calls to OnClientError in relation to a single connection. We also prevent errors from being logger when the user has called Disconnect (it's not an error if it's the result of a request) and add a test. closes #157
- Loading branch information
Showing
3 changed files
with
29 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters