Closed ruslanx3m closed 1 year ago
I have switched to using this library:
https://github.com/mknj/node-keepalive-proxy-agent
Note that it's configured with host
instead of hostname
.
Looking at the source code here I think it's flawed because it creates a new socket for every request and thus it is repeating the TLS handshake with every request. Would be a major revamp to implement. Also I don't understand why it is not extending the native https.Agent.
@giy-debug does it work with axios?
keepAlive: true
is finally here! https://github.com/TooTallNate/proxy-agents/pull/147
Keep-Alive support ?