-
-
Notifications
You must be signed in to change notification settings - Fork 38.5k
http.request socketPath doesn't work on Windows #35008
Copy link
Copy link
Open
Labels
blockedPRs that are blocked by other issues or PRs.PRs that are blocked by other issues or PRs.httpIssues and PRs related to the http subsystem.Issues and PRs related to the http subsystem.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
Activity
Metadata
Metadata
Assignees
Labels
blockedPRs that are blocked by other issues or PRs.PRs that are blocked by other issues or PRs.httpIssues and PRs related to the http subsystem.Issues and PRs related to the http subsystem.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
When calling http.request with the
socketPathoption on Windows in order to try to connect to a Unix domain socket, I get the following error message:There is native Unix Domain Sockets support in Windows 10 since two years, and the documentation at https://nodejs.org/api/http.html gives no indication that
socketPathdoesn't work on Windows, so I guess that this can be considered as an error.What steps will reproduce the bug?
Call http.request with the
socketPathoption on Windows. Specify a Unix domain socket path.