Unverified Commit 070cedbc authored by Alba Mendez's avatar Alba Mendez Committed by Shelley Vohr
Browse files

doc: warn that tls.connect() doesn't set SNI

Add a note warning users that when using tls.connect(),
the `servername` option must be set explicitely to enable
SNI, otherwise the connection could fail.

PR-URL: https://github.com/nodejs/node/pull/33855
Fixes: https://github.com/nodejs/node/issues/28167


Co-authored-by: default avatarDenys Otrishko <shishugi@gmail.com>
Reviewed-By: default avatarRobert Nagy <ronagy@icloud.com>
Reviewed-By: default avatarDenys Otrishko <shishugi@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarTobias Nießen <tniessen@tnie.de>
parent 8046c8b5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment