-
-
Notifications
You must be signed in to change notification settings - Fork 37.5k
Modify https.globalAgent doesn't effect #9057
Copy link
Copy link
Closed
Labels
good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.httpIssues and PRs related to the http subsystem.Issues and PRs related to the http subsystem.httpsIssues and PRs related to the https subsystem.Issues and PRs related to the https subsystem.
Description
Activity
Metadata
Metadata
Assignees
Labels
good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.httpIssues and PRs related to the http subsystem.Issues and PRs related to the http subsystem.httpsIssues and PRs related to the https subsystem.Issues and PRs related to the https subsystem.
I modify globalAlgent to use proxy.
Next code:
this give me error:
Error: connect ECONNREFUSEDBut if i paste this code
parsedURL.agent = https.globalAgentbeforehttps.requestall works fine.Also i tried to modify http.globalAgent. It isn't work.