Merge pull request #2988 from chakflying/fix/socks-rejectUnauthorized

Fix: Pass rejectUnauthorized to Socks Proxy
pull/3010/head
Louis Lam 2 years ago committed by GitHub
commit de0d1edfd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -132,6 +132,9 @@ class Proxy {
...httpAgentOptions, ...httpAgentOptions,
...httpsAgentOptions, ...httpsAgentOptions,
...proxyOptions, ...proxyOptions,
tls: {
rejectUnauthorized: httpsAgentOptions.rejectUnauthorized,
},
}); });
httpAgent = agent; httpAgent = agent;

Loading…
Cancel
Save