Skip to content

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