Skip to content
New issue

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

gh-109534: Asyncio sslproto memleak #113338

Closed

Conversation

ordinary-jamie
Copy link
Contributor

@ordinary-jamie ordinary-jamie commented Dec 20, 2023

When the `asyncio.sslproto.SSLProtocol` raises on handshake, it doesn't
appear to release its SSL buffer, causing a memory leak. This is because
of the `memoryview`. This commit releases the `memoryview` before
unsetting the reference to the `bytearray`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant