Message389235
No, there is no check for that. This kind of deadlock should never occur. The problem was an implementation bug in low-level C code that had bad interaction with the global interpreter lock. Python releases the GIL around OpenSSL calls. Callbacks have to re-acquire the GIL correctly and release it again at the end of a callback.
By the way the _msg_cb attribute is deliberately undocumented and marked as an internal property. I implemented the callback to debug some issues with TLS 1.3 and OpenSSL 1.1.1. It's neither well tested nor stable. |
|
Date |
User |
Action |
Args |
2021-03-21 15:34:21 | christian.heimes | set | recipients:
+ christian.heimes, miss-islington, theandrew168 |
2021-03-21 15:34:21 | christian.heimes | set | messageid: <1616340861.49.0.264270057801.issue43577@roundup.psfhosted.org> |
2021-03-21 15:34:21 | christian.heimes | link | issue43577 messages |
2021-03-21 15:34:21 | christian.heimes | create | |
|