Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
* Break circular ref SSLProtocol <-> UserProtocol
|
GH-12387 is a backport of this pull request to the 3.7 branch. |
|
Sorry, @fantix and @1st1, I could not cleanly backport this to |
* Fix handshake timeout leak in asyncio/sslproto Refs MagicStack/uvloopGH-222 * Break circular ref _SSLPipe <-> SSLProtocol * bpo-34745: Fix asyncio ssl memory leak * Break circular ref SSLProtocol <-> UserProtocol * Add NEWS entry (cherry picked from commit f683f46) Co-authored-by: Fantix King <fantix.king@gmail.com>
|
@fantix Could you please make a pr against 3.6? |
|
@1st1 sure thing, thanks for the quick response! |
* Fix handshake timeout leak in asyncio/sslproto Refs MagicStack/uvloopGH-222 * Break circular ref _SSLPipe <-> SSLProtocol * bpo-34745: Fix asyncio ssl memory leak * Break circular ref SSLProtocol <-> UserProtocol * Add NEWS entry (cherry picked from commit f683f46) Co-authored-by: Fantix King <fantix.king@gmail.com>
* Fix handshake timeout leak in asyncio/sslproto, refs MagicStack/uvloop#222 * Break circular ref _SSLPipe <-> SSLProtocol * bpo-34745: Fix asyncio ssl memory leak * Break circular ref SSLProtocol <-> UserProtocol * Add NEWS entry
|
GH-12393 is a backport of this pull request to the 3.6 branch. |
|
Hi guys, sorry for reopening such an old issue. I'm just playing with asyncio+ssl. Thanks a lot, |
These issues are not strictly memory leaks, but they do affect the memory footprint and garbage collection if called frequently.
_SSLPipeandSSLProtocolSSLProtocolandUserProtocolhttps://bugs.python.org/issue34745
Before the fix:
After the fix: