Skip to content

Conversation

@colesbury
Copy link
Contributor

@colesbury colesbury commented Dec 29, 2025

The error return code doesn't need to be mutable state on the SSLSocket. This simplifies thread-safety and avoids potential reentrancy issues.

The error return code doesn't need to be mutable state on the SSLSocket.
This simplifes thread-safety and avoids potential reentrancy issues.
@colesbury colesbury added skip news type-refactor Code refactoring (with no changes in behavior) labels Dec 29, 2025
@colesbury colesbury marked this pull request as ready for review December 29, 2025 18:08
@colesbury
Copy link
Contributor Author

The motivation here is to refactor out shared state so that we can remove some of the SSLSocket locks.

Copy link
Member

@picnixz picnixz left a comment

Choose a reason for hiding this comment

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

Yeah I don't know why self->err is carried over actually.

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

Labels

awaiting merge skip news type-refactor Code refactoring (with no changes in behavior)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants