Open
Description
Hello,
I was facing an issue on node 20 with the proxy. Very slow proxy. I found the solution here:
I changed this in common.js setupOutgoing :
//REMOVE THIS LINE outgoing.agent = options.agent || false;
//AND REPLACE WITH:
if(options.agent){
outgoing.agent = options.agent
}
Regarding the doc, setting the agent to false seems to create a new one each time...
I'm not a HTTP agent expert, but does it make sense to create a new one each time ?
After that change, proxy are really really fast... 10x time faster.
Metadata
Metadata
Assignees
Labels
No labels