[issue37179] asyncio loop.start_tls() provide support for TLS in TLS

Jordan Borean report at bugs.python.org
Tue Apr 13 01:11:38 EDT 2021


Jordan Borean <jborean93 at gmail.com> added the comment:

I'm looking through the PR https://github.com/python/cpython/pull/17975 and it doesn't look like it addresses this particular problem. The code for start_tls https://github.com/python/cpython/blob/d2a8e69c2c605fbaa3656a5f99aa8d295f74c80e/Lib/asyncio/base_events.py#L1210-L1212 has a check for the attribute '_start_tls_compatible' but _SSLProtocolTransport (https://github.com/python/cpython/blob/master/Lib/asyncio/sslproto.py) does not set this. The PR mentioned https://github.com/python/cpython/pull/17975 does not seem to touch any of this so I would assume the problem is still there?

I also installed 3.10.0a7 and this problem still persists when I call loop.start_tls with my SSL writer transport.

----------
nosy: +jborean93

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37179>
_______________________________________


More information about the Python-bugs-list mailing list