]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-124984: Enhance `ssl` thread safety (GH-124993) (#125780)
authorPeter Bierma <zintensitydev@gmail.com>
Mon, 2 Dec 2024 14:03:44 +0000 (09:03 -0500)
committerGitHub <noreply@github.com>
Mon, 2 Dec 2024 14:03:44 +0000 (15:03 +0100)
commitb1051577dec26d4b30e3786cfcfd56e1a49d9855
tree36ab348d2384666c45051349e8594475155bb7b1
parentd9ac6b3ef7b4116762f2d0308c55044e17f5e66b
[3.13] gh-124984: Enhance `ssl` thread safety (GH-124993) (#125780)

Make SSL objects thread safe in Free Theaded build by
using critical sections.

(cherry picked from commit 4c53b2577531c77193430cdcd66ad6385fcda81f)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Lib/test/test_ssl.py
Misc/NEWS.d/next/Library/2024-10-04-22-43-48.gh-issue-124984.xjMv9b.rst [new file with mode: 0644]
Modules/_ssl.c
Modules/clinic/_ssl.c.h