Title: `_SSLProtocolTransport` keeps reference to protocol after close · Issue #98539 · python/cpython · GitHub
Open Graph Title: `_SSLProtocolTransport` keeps reference to protocol after close · Issue #98539 · python/cpython
X Title: `_SSLProtocolTransport` keeps reference to protocol after close · Issue #98539 · python/cpython
Description: _SSLProtocolTransport keeps reference to protocol after close. It leads to reference cyeles between the transport and the protocol and is bad for gc. Clearing this is better as it frees up the memory immediately without waiting for the g...
Open Graph Description: _SSLProtocolTransport keeps reference to protocol after close. It leads to reference cyeles between the transport and the protocol and is bad for gc. Clearing this is better as it frees up the memo...
X Description: _SSLProtocolTransport keeps reference to protocol after close. It leads to reference cyeles between the transport and the protocol and is bad for gc. Clearing this is better as it frees up the memo...
Opengraph URL: https://github.com/python/cpython/issues/98539
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`_SSLProtocolTransport` keeps reference to protocol after close","articleBody":"`_SSLProtocolTransport` keeps reference to protocol after close. It leads to reference cyeles between the transport and the protocol and is bad for gc. Clearing this is better as it frees up the memory immediately without waiting for the gc. This causes memory leaks in some cases as if an exception occurs the deallocation is delayed even further as tracebacks keeps ref to frame and frame keeps locals alive. \r\n\r\nhttps://github.com/python/cpython/blob/8d574234d49acf3472f7151ee4296da0f297d6f2/Lib/asyncio/sslproto.py#L102-L111 \n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104474\n* gh-104485\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/kumaraditya303","@type":"Person","name":"kumaraditya303"},"datePublished":"2022-10-22T07:04:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/98539/cpython/issues/98539"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9ae557b2-f8bb-b45f-74ab-21920e674671 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9CA4:2D5987:184CB59:20E091B:6969AB58 |
| html-safe-nonce | 115eb8cba0810e2ab78ed22cf171cad0524b59b33d644437524ab00f5eec0bc2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Q0E0OjJENTk4NzoxODRDQjU5OjIwRTA5MUI6Njk2OUFCNTgiLCJ2aXNpdG9yX2lkIjoiNzk5ODcwNTg1ODQxMDgxODM5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f1f91df4166c357661e9f0790764b7f33814f743d131ea812c3ed9fde3ca2cfb |
| hovercard-subject-tag | issue:1419137580 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/98539/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e012409cd8b2efe95fd6af985a7f1c810f0bb1855a4c542aba5fec17703cffde/python/cpython/issues/98539 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e012409cd8b2efe95fd6af985a7f1c810f0bb1855a4c542aba5fec17703cffde/python/cpython/issues/98539 |
| og:image:alt | _SSLProtocolTransport keeps reference to protocol after close. It leads to reference cyeles between the transport and the protocol and is bad for gc. Clearing this is better as it frees up the memo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kumaraditya303 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width