This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients alex, christian.heimes, dstufft, janssen, martin.panter, pitrou, vstinner
Date 2017-09-05.21:07:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504645647.63.0.235379479058.issue31320@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-09-05 21:07:27christian.heimessetrecipients: + christian.heimes, janssen, pitrou, vstinner, alex, martin.panter, dstufft
2017-09-05 21:07:27christian.heimessetmessageid: <1504645647.63.0.235379479058.issue31320@psf.upfronthosting.co.za>
2017-09-05 21:07:27christian.heimeslinkissue31320 messages
2017-09-05 21:07:27christian.heimescreate