[issue20924] openssl init 100% CPU utilization
Martin v. Löwis
report at bugs.python.org
Sun Mar 30 17:21:38 CEST 2014
Martin v. Löwis added the comment:
As Antoine says: if the socket is *really* in blocking mode, then SSL_do_handshake should block until the handshake if fully complete. It should not return SSL_ERROR_WANT_READ in this case.
If you have managed to build Python for yourself to diagnose this further, please add a call to ioctlsocket in this loop to verify that the socket is in blocking mode.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20924>
_______________________________________
More information about the Python-bugs-list
mailing list