Message277020
Seems that this field must not be private(or must have read-only property) as it is supposed to use outside of class.
I catched that, when implemented STARTTLS smtp process, when you must start SSL connection over existing socket connection. Currently it is not hard, its easy to add SSL layer as loop do:
self._tls_protocol = sslproto.SSLProtocol()
socket_transport = self.transport
socket_transport._protocol = self._tls_protocol
self.transport = self._tls_protocol._app_transport
self._tls_protocol.connection_made(socket_transport)
But here you must access to private property "app_transport". It must be public because its purpose to public "result" of SSL layer implementation.
From class BaseSelectorEventLoop:
def _make_ssl_transport(...):
...
return ssl_protocol._app_transport |
|
Date |
User |
Action |
Args |
2016-09-20 09:21:57 | Константин Волков | set | recipients:
+ Константин Волков, gvanrossum, yselivanov |
2016-09-20 09:21:57 | Константин Волков | set | messageid: <1474363317.54.0.62853026596.issue28213@psf.upfronthosting.co.za> |
2016-09-20 09:21:57 | Константин Волков | link | issue28213 messages |
2016-09-20 09:21:57 | Константин Волков | create | |
|