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

[1.x] Ensure connection close handler is cleaned up for each request #515

Conversation

WyriHaximus
Copy link
Member

This changeset resolves a small memory leak that causes roughly 1KB per connection tops. Which isn't a big issue but will make memory fluctuate more. The changeset doesn't introduce any performance degradation.

Resolves: #514
Builds on top of: #405, #467, and many others

@WyriHaximus WyriHaximus added this to the v1.10.0 milestone Feb 19, 2024
@WyriHaximus WyriHaximus force-pushed the 1.x-ensure-connection-close-handler-cleanup branch 2 times, most recently from 4dfc331 to 07c80be Compare February 19, 2024 16:57
This changeset resolves a small memory leak that causes roughly 1KB per connection tops. Which isn't a big issue but will make memory fluctuate more. The changeset doesn't introduce any performance degradation.

Resolves: reactphp#514
Builds on top of: reactphp#405, reactphp#467, and many others
@WyriHaximus WyriHaximus force-pushed the 1.x-ensure-connection-close-handler-cleanup branch from 07c80be to 638c5dd Compare March 8, 2024 15:11
@clue clue removed the maintenance label Mar 12, 2024
Copy link
Member

@clue clue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@WyriHaximus Let's get this shipped! :shipit:

Copy link
Member

@SimonFrings SimonFrings left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@SimonFrings SimonFrings merged commit 33a0cf3 into reactphp:1.x Mar 12, 2024
14 checks passed
@WyriHaximus WyriHaximus deleted the 1.x-ensure-connection-close-handler-cleanup branch March 12, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory leak when using persistent connections
3 participants