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

Rework auth errors handling during reconnect #506

Merged
merged 1 commit into from
Aug 7, 2019

Conversation

kozlovic
Copy link
Member

@kozlovic kozlovic commented Aug 7, 2019

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]

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]>
@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 92.495% when pulling 0b78893 on rework_last_err_handling into 8f27558 on master.

Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants