-
Notifications
You must be signed in to change notification settings - Fork 72
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
Fix: memory leak with when using Http(s)Agent keepAlive=true #391
Conversation
🦋 Changeset detectedLatest commit: d3ef379 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, really great, I appreciate the effort! I hope you don't mind that I have some humble comments from my perspective, please give me your feedback and we can agree what makes sense and what does not. 🙏
@klippx thanks for the great feedback and review, I really liked the suggestions. The only pending task is the test for the |
Don't worry, I appreciate that you got a PR up including test case and all, that's more than most people will put up! Pending tasks
|
I didn't mention it in a comment, but yesterday I pushed a commit with the test for the |
Fixes #390
This pull request contains:
The spec fails without the fix: when keep-alive is enabled, the tcp socket events register twice (once per API call):