[issue22252] ssl blocking IO errors

Antoine Pitrou report at bugs.python.org
Sat Aug 23 14:46:53 CEST 2014


Antoine Pitrou added the comment:

Le 23/08/2014 03:02, Hristo Venev a écrit :
> When will SSLSocket.recv() raise SSLWantWriteError?
> When will SSLSocket.send() raise SSLWantReadError?
>
> According to my very basic knowledge abou the protocol, this will never happen.

According to the OpenSSL docs:
"""As at any time a re-negotiation is possible, a call to SSL_write() 
can also cause read operations!"""
"""As at any time a re-negotiation is possible, a call to SSL_read() can 
also cause write operations!"""

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22252>
_______________________________________


More information about the Python-bugs-list mailing list