Message307648
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 |
|
Date |
User |
Action |
Args |
2017-12-05 08:44:11 | pitrou | set | recipients:
+ pitrou, janssen, christian.heimes, alex, njs, dstufft |
2017-12-05 08:44:11 | pitrou | set | messageid: <1512463451.01.0.213398074469.issue32219@psf.upfronthosting.co.za> |
2017-12-05 08:44:10 | pitrou | link | issue32219 messages |
2017-12-05 08:44:10 | pitrou | create | |
|