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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22560>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to