cf-warp
cf-warp copied to clipboard
Avoid using tls1.1 in OpenSSL 3.0+
tls1.1 or lower is not usable by default since OpenSSL 3.0 used in Nodejs 17+. Tested on Nodejs 14, 16, 18.
{minVersion: 'TLSv1.1'} or {maxVersion: 'TLSv1.1'} doesn't work for <=Nodejs 16.
Setting both does work for <=Nodejs 16, but not Nodejs 17+.
Fixes #32
@maple3142 This fix works! Please merge it, so others can use it.