]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-124984: Enhance `ssl` thread safety (#124993)
authorPeter Bierma <zintensitydev@gmail.com>
Sat, 19 Oct 2024 21:16:36 +0000 (17:16 -0400)
committerGitHub <noreply@github.com>
Sat, 19 Oct 2024 21:16:36 +0000 (23:16 +0200)
commit4c53b2577531c77193430cdcd66ad6385fcda81f
tree32d885efce366de30d888c9817168064b6be923d
parent2a378dba987e125521b678364f0cd44b92dd5d52
gh-124984: Enhance `ssl` thread safety (#124993)

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

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