[New-bugs-announce] [issue22252] ssl blocking IO errors

Hristo Venev report at bugs.python.org
Fri Aug 22 19:31:19 CEST 2014


New submission from Hristo Venev:

ssl.SSLWantReadError and ssl.SSLWantWriteError should inherit io.BlockingIOError.

Generic code that works with non-blocking sockets will stop working with SSLSockets.

Does anybody have any idea if SSLSocket.read() will need to write to the underlying socket or SSLSocket.write() need to read from it? AFAIK they don't.

Assuming that ssl.SSLWantReadErorr and ssl.SSLWantWriteError perfectly map to io.BlockingIOError (except during handshake).

----------
components: Library (Lib)
messages: 225687
nosy: h.venev
priority: normal
severity: normal
status: open
title: ssl blocking IO errors
versions: Python 3.4

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


More information about the New-bugs-announce mailing list