-
Notifications
You must be signed in to change notification settings - Fork 29.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modify https.globalAgent doesn't effect #9057
Comments
Some discussion about the ramifications are probably warranted. I think your best bet would be to open a pull request and see how it is received. |
I'm adding the 'good first contribution' label but if no one picks it up in the next week or two, I'm going to close it out. |
Hi @bnoordhuis, should the patch lets |
@diorahman That's the idea, yes. |
Can I take this up as my first contribution in case no one is working on it anymore? |
@shubheksha I don’t think anybody’s working on it – so, yes, go for it! There’s a bit of information on the process in our CONTRIBUTING.md and there’s #node-dev on chat.freenode.net where you can ask any questions about contributing that you have. For this specific task I would suggest that you comment here with an outline of the changes that you are going to make, if that’s possible. (At least that’s what I would do, because I am not very sure just from reading the issue description.) |
@addaleax, I understand what needs to be done but I'm not sure how to go about this. Will it be possible to give me some pointers regarding where to start? |
@shubheksha You can understand the issue to see #9386 |
@sotayamashita, I went through that but it didn't make a lot of sense. However, @Fishrock123 helped me in understanding it piece by piece so I can place things now. 😄 @addaleax & @bnoordhuis: is there a reason why the |
Right now, we don’t do these bulk replacements in
You can feel free to do Hope that helps! |
I modify globalAlgent to use proxy.
Next code:
this give me error:
Error: connect ECONNREFUSED
But if i paste this code
parsedURL.agent = https.globalAgent
beforehttps.request
all works fine.Also i tried to modify http.globalAgent. It isn't work.
The text was updated successfully, but these errors were encountered: