[issue31632] Asyncio: SSL transport does not support set_protocol()

2017-09-29 Thread Loïc Lajeanne
Change by Loïc Lajeanne : -- keywords: +patch pull_requests: +3801 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue31632> ___ ___ Py

[issue31632] Asyncio: SSL transport does not support set_protocol()

2017-09-29 Thread Loïc Lajeanne
New submission from Loïc Lajeanne : The bug was encountered when using the HTTPS client of the aiohttp package. Calling the method set_protocol() on a SSL transport (_SSLProtocolTransport) does not have the expected result: the new protocol will never be used (i.e. its data_received() method