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 pitrou
Recipients alex, christian.heimes, dstufft, janssen, njs, pitrou
Date 2017-12-05.08:44:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512463451.01.0.213398074469.issue32219@psf.upfronthosting.co.za>
In-reply-to
Content
You might want to add debugging code in _ssl__SSLSocket_shutdown_impl() (Modules/_ssl.c) and see what happens exactly.

Does your socket have a timeout?  If not, you may want to ask the OpenSSL mailing-list whether it's possible for SSL_shutdown to return SSL_ERROR_WANT_WRITE on a blocking socket...

PS: it seems the _ssl module doesn't retry I/O routines on EINTR. See also https://stackoverflow.com/questions/24188013/openssl-and-signals
History
Date User Action Args
2017-12-05 08:44:11pitrousetrecipients: + pitrou, janssen, christian.heimes, alex, njs, dstufft
2017-12-05 08:44:11pitrousetmessageid: <1512463451.01.0.213398074469.issue32219@psf.upfronthosting.co.za>
2017-12-05 08:44:10pitroulinkissue32219 messages
2017-12-05 08:44:10pitroucreate