Skip to content
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

Upgrade https-proxy-agent to drop rewrite of https.request() #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zckrs
Copy link

@zckrs zckrs commented May 15, 2020

  • https-proxy-agent v2.1.1 to v5.0.0
  • http-proxy-agent removed (not used in code)

You use a old and strange version of https-proxy-agent who rewrite the
original function 'https.request()' ...

https://github.com/TooTallNate/node-agent-base/blob/4.3.0/patch-core.js#L13

This rewrite are not neccesary and produce bug when we use a Url object.

Object.assign({}, _options); will transform a Url into Symbol

https://www.diffchecker.com/NGxe92j3

* https-proxy-agent v2.1.1 to v5.0.0
* http-proxy-agent removed (not used in code)

You use a old and strange version of https-proxy-agent who rewrite the
original function 'https.request()' ...

https://github.com/TooTallNate/node-agent-base/blob/4.3.0/patch-core.js#L13

This rewrite are not neccesary and produce bug when we use a Url object.

`Object.assign({}, _options);` will transform a Url into Symbol

https://www.diffchecker.com/NGxe92j3
@zckrs
Copy link
Author

zckrs commented May 20, 2020

ping @AstinCHOI

@zckrs
Copy link
Author

zckrs commented May 22, 2020

ping @kporowski

@zckrs
Copy link
Author

zckrs commented May 27, 2020

ping @vreddhi

@zckrs
Copy link
Author

zckrs commented Jun 22, 2023

@rajiv @benlancaster @alzix @akalcosmin

Can someone review, merge and release this PR please ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant