test: clarify confusion over "client" in comment · nodejs/node@c457d00 · GitHub
Skip to content

Commit c457d00

Browse files
sam-githubaddaleax
authored andcommitted
test: clarify confusion over "client" in comment
Fix perplexing comment. It's not that TLS "clients" don't support 'secureConnect', it's that client sockets created with `new TLSSocket` (as opposed to `tls.connect()`) don't support that event. PR-URL: #25508 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 1be8676 commit c457d00

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

test/parallel/test-tls-socket-default-options.js

Lines changed: 3 additions & 2 deletions

0 commit comments

Comments
 (0)