Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tls: use
validateFunction
for options.SNICallback
If user uses invalid type for `options.SNICallback` in TLSSocket(), it's not internal issue of Node.js. So validateFunction() is more proper than assert(). PR-URL: #50530 Reviewed-By: Luigi Pinca <[email protected]>
- Loading branch information