[issue32533] SSLSocket read/write thread-unsafety
Alexey Baldin added the comment: I'd gather errno and win error into local variables (or struct) just after SSL call and then pass them to PySSL_SetError. -- ___ Python tracker <https://bugs.python.org/is
[issue32533] SSLSocket read/write thread-unsafety
New submission from Alexey Baldin : _ssl.c has thread-usafe code in implementation of read, write and other methods. E.g. 'write' method: 2099PySSL_BEGIN_ALLOW_THREADS 2100len = SSL_write(self->ssl, b->buf, (int)b->len); 2101_PySSL_UPDATE_ERRNO_IF(