-
-
Couldn't load subscription status.
- Fork 33.6k
Closed
Labels
good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.
Description
- Version: 4.4.7
- Platform: linux
- Subsystem: http
There are too many anonymous functions in the source code which makes heap debugging frustrating
This once('response') listener ( https://github.com/nodejs/node/blob/master/lib/_http_client.js#L235-L237 ) is anonymous.
When I try to debug why I am leaking response listeners in a heap snapshot
I see that the listener in the once closure is function () {} which gives me no information. I strongly suspect that it's the abort listener but i have no evidence for it.
There are many, many, many anonymous functions in node core, there should be zero.
AndreasMadsen, dpaez, benjamingr, jozefizso, fengmk2 and 6 more
Metadata
Metadata
Assignees
Labels
good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.
