-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
gh-137583: Only lock the SSL context, not the SSL socket #137588
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
Changes from 1 commit
0a070e2
42a0351
c776679
90d93c3
7ea2613
5ff4efc
cf630d7
f3ec86c
12a68a5
d45f6a8
6799b03
38e29f9
64f7480
6da074e
bb99322
36a4d66
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Fix a deadlock introduced in the :mod:`ssl` module when a call to | ||
:meth:`ssl.SSLSocket.recv` was blocked in one thread, while another | ||
attempted to call :meth:`ssl.SSLSocket.send` to unblock it in another | ||
``recv()`` was blocked in one thread, while another | ||
attempted to call ``send()`` to unblock it in another | ||
thread. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd simplify this as follows:
Indeed, the problem happens even without a dependency between There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think we even need to mention |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mention the specific Python 3.13 version the deadlock was introduced in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(and 3.14.0rc1)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The backport didn't make it to 3.14, so it's fine there. Only 3.13.6 is affected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.