Skip to content

Conversation

@JonathanTron
Copy link
Contributor

As described in #31 it fixes invalid connection closing when using TLS.

The override of the `BufferedSSLSocket#shutdown` method, prevented
sending a `close_notify` message to the peer before closing the socket,
resulting in a `550 Connection reset by peer` on the client.
Copy link
Member

@shugo shugo left a comment

Choose a reason for hiding this comment

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

It looks fine. Thank you!

@shugo shugo merged commit 2eabdc3 into ruby:master Feb 13, 2025
25 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.

2 participants