Closed bobrowadam closed 2 years ago
Thanks for the PR @bobrowadam, but I'm inclined to not override the default values that Node.js uses. You should still be able to apply this by passing the option in the options object when using https.request()
though:
https.request({ agent, minVersion: 'TLSv1', ... })
Thanks for the review @TooTallNate. I'll try your suggestion
This PR will allow passing a minimal TLS version to the proxy request configuration. The default version is "TLSv1" which is the lowest, it might be better to use a newer version but I didn't want to break anything.