From e3131ee1fc6021981e9b2e058bed510d778aebdd Mon Sep 17 00:00:00 2001 From: James M Snell Date: Tue, 27 Apr 2021 19:21:53 -0700 Subject: [PATCH] doc: document `'secureConnect'` event limitation Fixes: https://github.com/nodejs/node/issues/10555 Signed-off-by: James M Snell Refs: https://github.com/nodejs/node/pull/10846 --- doc/api/tls.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/api/tls.md b/doc/api/tls.md index d82ecf733d209d..b82de483f9b825 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -850,6 +850,9 @@ determine if the server certificate was signed by one of the specified CAs. If `tlsSocket.alpnProtocol` property can be checked to determine the negotiated protocol. +The `'secureConnect'` event is not emitted when a {tls.TLSSocket} is created +using the `new tls.TLSSocket()` constructor. + ### Event: `'session'`