[issue22560] Add loop-agnostic SSL implementation to asyncio

Guido van Rossum report at bugs.python.org
Fri Jan 2 05:21:19 CET 2015


Guido van Rossum added the comment:

Oh, I think I understand how this could help STARTTLS. Glyph once explained it to me. STARTTLS takes an existing non-TLS Transport and layers a TLS Transport on top of it. This requires the TLS layer to read/write from the underlying Transport using the standard Transport/Protocol interface (i.e. call transport.write() to write bytes, expect protocol.data_received() to be called when bytes are read). The existing (3.4) ssl module cannot do this because the TLS implementation needs to wrap the socket directly; but (presumably) the BIO-based TLS implementation can do this.

----------

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


More information about the Python-bugs-list mailing list