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

Fix racing condition when using freethreaded build (cert verify) #199

Merged
merged 4 commits into from
Jan 3, 2025

Conversation

Ousret
Copy link
Member

@Ousret Ousret commented Jan 3, 2025

No description provided.

Ousret added 4 commits January 3, 2025 15:54
Certificate validation may end up in error in highly concurrent environment using the experimental freethreaded build.
  This was due to a racing condition in our "verify" caching logic (e.g. avoid creating duplicate ssl_context where one is sufficient).
  The GIL prevented this issue.
@Ousret Ousret added the bug Something isn't working label Jan 3, 2025
@Ousret Ousret merged commit 51d3fb7 into main Jan 3, 2025
30 of 33 checks passed
@Ousret Ousret deleted the freethreaded-fix branch January 3, 2025 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant