-
Notifications
You must be signed in to change notification settings - Fork 713
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework auth errors handling during reconnect
Move the detection/handling down to sendConnect when we know we got an -ERR from the server. With the use of a boolean we know if we should abort the reconnect attempts in the doReconnect loop. Signed-off-by: Ivan Kozlovic <[email protected]>
- Loading branch information
Showing
2 changed files
with
112 additions
and
35 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