Message389229
I'm glad that the info I provided was helpful! I'll go ahead and create another issue for the misleading docs surrounding SSLContext.sni_callback. Thanks for looking into this and coming up with a fix so quickly.
I do have one more question: does python provide a "safe" way to test for deadlocks like this? I noticed that you added a test case to verify that this lockup doesn't happen but what would happen if someone ran that test on an earlier version? Would the test runner also freeze or are there facilities in-place to catch such behavior? Maybe something nutty like:
with should_deadlock():
my_buggy_test() |
|
Date |
User |
Action |
Args |
2021-03-21 14:42:07 | theandrew168 | set | recipients:
+ theandrew168, christian.heimes |
2021-03-21 14:42:07 | theandrew168 | set | messageid: <1616337727.6.0.630418828697.issue43577@roundup.psfhosted.org> |
2021-03-21 14:42:07 | theandrew168 | link | issue43577 messages |
2021-03-21 14:42:07 | theandrew168 | create | |
|