Message301375
The error occurs in the test case that uses a PROTOCOL_TLS_SERVER context for both client and server context. In that case, OpenSSL wrap_socket() fails internally and OpenSSL raises an OSError with errno 0.
Simple fix: catch OSError in the client thread and fail the test appropriately. |
|
Date |
User |
Action |
Args |
2017-09-05 21:07:27 | christian.heimes | set | recipients:
+ christian.heimes, janssen, pitrou, vstinner, alex, martin.panter, dstufft |
2017-09-05 21:07:27 | christian.heimes | set | messageid: <1504645647.63.0.235379479058.issue31320@psf.upfronthosting.co.za> |
2017-09-05 21:07:27 | christian.heimes | link | issue31320 messages |
2017-09-05 21:07:27 | christian.heimes | create | |
|