{{ message }}
Commit d905c61
tls: use
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 <luigipinca@gmail.com>validateFunction for options.SNICallback
1 parent 3844af2 commit d905c61
2 files changed
Lines changed: 17 additions & 7 deletions

0 commit comments