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

fix(browserfetcher): fix httpRequest when using proxy against http HOST #4558

Merged
merged 1 commit into from Jun 10, 2019
Merged

Conversation

tenuki
Copy link
Contributor

@tenuki tenuki commented Jun 10, 2019

This patch avoids https-proxy-agent usage when target host protocol is http and proxy is specified.
This is a valid scenario for installer but was failing.

Fixes #4556

PS: second try. fixed code lint issues

This patch avoids https-proxy-agent usage when target host protocol is http and proxy is specified.
This is a valid scenario for installer but was failing.

Fixes #4556

PS: second try. fixed code lint issues
Copy link
Contributor

@aslushnikov aslushnikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@aslushnikov aslushnikov changed the title fix(BrowserFetcher): fix httpRequest when using proxy against http HOST fix(browserfetcher): fix httpRequest when using proxy against http HOST Jun 10, 2019
@aslushnikov aslushnikov merged commit 7faf1c9 into puppeteer:master Jun 10, 2019
@tenuki
Copy link
Contributor Author

tenuki commented Jun 10, 2019

Thanks to you!

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

Successfully merging this pull request may close these issues.

https-agent makes http PUPPETEER_DOWNLOAD_HOST download fail
2 participants