- 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.