[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-02-26 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: -> resolved status: open -> closed versions: -Python 3.10, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-02-26 Thread Andrew Svetlov
Andrew Svetlov added the comment: Awesome! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-02-26 Thread Kumar Aditya
Kumar Aditya added the comment: @asvetlov I tested it on main branch and indeed it is fixed on main branch with https://bugs.python.org/issue44011. -- ___ Python tracker ___

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-02-15 Thread Andrew Svetlov
Andrew Svetlov added the comment: Please check against the latest master. It has rewritten SSL protocol implementation borrowed from uvloop. See #44011 for details -- ___ Python tracker

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-01-13 Thread Julien Palard
Julien Palard added the comment: Probably related to https://bugs.python.org/issue44011 and https://github.com/MagicStack/uvloop/pull/385 -- ___ Python tracker ___

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-01-12 Thread Julien Palard
Julien Palard added the comment: I don't know if it's related but _SSLPipe._shutdown_cb looks never called, in: self._sslobj.unwrap() self._sslobj = None self._state = _UNWRAPPED if self._shutdown_cb: self._shutdown_cb() the unwrap() call seems to always raise (The

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-01-10 Thread Julien Palard
Julien Palard added the comment: Feel like SSLProtocol's connection_lost should "bubble up" the info by calling SSLProtocolTransport's close. But I'm no familiar with this stack. -- ___ Python tracker

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-01-10 Thread Julien Palard
Julien Palard added the comment: Related to: https://bugs.python.org/issue23243 -- ___ Python tracker ___ ___ Python-bugs-list

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-01-09 Thread Kumar Aditya
Change by Kumar Aditya : -- nosy: +kumaraditya303 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46318] asyncio and ssl: ResourceWarning: unclosed transport

2022-01-09 Thread Julien Palard
New submission from Julien Palard : Originally opened at: https://github.com/aio-libs/aiohttp/issues/6071 Reproducer: import asyncio class DumbProtocol(asyncio.Protocol): def connection_made(self, transport): print("Connection made") self.transport =