-
-
Notifications
You must be signed in to change notification settings - Fork 37.2k
(new TLSSocket(new net.Socket())).connect() fails silently. #3963
Copy link
Copy link
Closed
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.tlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.
Description
Activity
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.tlsIssues and PRs related to the tls subsystem.Issues and PRs related to the tls subsystem.
(EDIT by @Trott: Turns out this is a documentation bug. Labeling
good-first-contributionanddoc.)The program ends immediately after the connect is called, telling me that the connection isn't started.
Note that if we don't wrap the
net.Socketin aTLSSocket, then the connect works as expected.