mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-28 06:53:42 +08:00
tls.createServer validated minVersion and maxVersion with its own loop, which threw ERR_TLS_INVALID_PROTOCOL_VERSION for null. It now uses the same check as tls.connect, where null and undefined select the default bound, as in Node.