-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
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 or PRs related to the http subsystem.Issues or PRs related to the http subsystem.httpsIssues or PRs related to the https subsystem.Issues or PRs related to the https subsystem.
Metadata
Metadata
Assignees
Labels
good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.httpIssues or PRs related to the http subsystem.Issues or PRs related to the http subsystem.httpsIssues or PRs related to the https subsystem.Issues or 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.