Skip to content

Fix connection closing issue when using TLS#48

Merged
shugo merged 1 commit into
ruby:masterfrom
openhood:fix-connection-closing-issue-with-tls
Feb 13, 2025
Merged

Fix connection closing issue when using TLS#48
shugo merged 1 commit into
ruby:masterfrom
openhood:fix-connection-closing-issue-with-tls

Conversation

@JonathanTron

Copy link
Copy Markdown
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.

@shugo shugo left a comment

Copy link
Copy Markdown
Member

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
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