szmarczak / http-timer

🕐 Performance timings for HTTP requests
MIT License
192 stars 18 forks source link

possible memory leak with keepalive #1

Closed jstewmon closed 5 years ago

jstewmon commented 6 years ago

If the http agent has keepAlive enabled, and the request is for an ip address or unix domain socket, the lookup even will not fire, so the socket's lookup listeners will grow with every request.

szmarczak commented 5 years ago

Good point!