Closed
Description
In #1795 the transports changed from keepAlive: true
to keepAlive: false
. The reason had to do with memory leaks in old versions of Node.
keepAlive: false
is undesirable because it incurs more overhead (re-)establishing TCP connections instead of keeping idle connections in the pool.
https://nodejs.org/dist/latest-v12.x/docs/api/http.html#http_class_http_agent
I propose we set keepAlive: true
, at least for recent versions of Node.