Skip to content

Conversation

@rhenium
Copy link
Member

@rhenium rhenium commented Jan 23, 2026

If an exception is raised by the SSLContext#servername_cb proc, the handshake should be canceled by sending an unrecognized_name alert to the client, and the exception should be re-raised from SSLSocket#accept.

Add more direct assertions to confirm these behaviors.

If an exception is raised by the SSLContext#servername_cb proc, the
handshake should be canceled by sending an "unrecognized_name" alert to
the client, and the exception should be re-raised from SSLSocket#accept.

Add more direct assertions to confirm these behaviors.
@rhenium rhenium merged commit 9f1ef74 into ruby:master Jan 23, 2026
48 checks passed
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.

1 participant