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

Adding a latch to track successful handshake and blocking in the same places SASL blocks #29

Open
wants to merge 1 commit into
base: tls_support
Choose a base branch
from

Conversation

smlevorse
Copy link

While testing, we noticed that the isAuthed() method didn't seem to work as expected for TLS connections. This meant that operations would get queued while handshaking and cause the connection to get reset, prompting another handshake. This PR adds a latch that tracks the state of the handshake and prevents operations from being queued while the connection is resetting.

@amydentremont
Copy link

Seems legit 👍

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.

2 participants