diff --git a/lib/dispatcher/proxy-agent.js b/lib/dispatcher/proxy-agent.js index 9df39edb1aa..58d9a5d5b55 100644 --- a/lib/dispatcher/proxy-agent.js +++ b/lib/dispatcher/proxy-agent.js @@ -40,7 +40,6 @@ class ProxyAgent extends DispatcherBase { const { href, origin, port, protocol, username, password } = url this[kProxy] = { uri: href, protocol } - this[kAgent] = new Agent(opts) this[kInterceptors] = opts.interceptors?.ProxyAgent && Array.isArray(opts.interceptors.ProxyAgent) ? opts.interceptors.ProxyAgent : []