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

Fix error reporting when during an authentication chain, the connection is closed by the remote server #187

Merged

Conversation

cescoffier
Copy link
Member

Fix #186

The error handler was set to null before we had a chance to report the error:

  1. The server closes the connection
  2. the handlers are clearer
  3. the error is reported

The fix just keeps a reference on the error handler, so step 3 would report the failure correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

Failure not reported in case of an auth chain
2 participants