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

Passing correct host header to proxy in ProxyAgent #1624

Merged
merged 6 commits into from
Sep 28, 2022
Merged

Conversation

protometa
Copy link
Contributor

fixes #1623

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@protometa protometa changed the title Passing correct host head to proxy in ProxyAgent Passing correct host header to proxy in ProxyAgent Aug 30, 2022
@kibertoad
Copy link
Contributor

@protometa could you please resolve conflicts?

@codecov-commenter
Copy link

codecov-commenter commented Sep 20, 2022

Codecov Report

Base: 94.89% // Head: 94.89% // No change to project coverage 👍

Coverage data is based on head (0173e9b) compared to base (e5e5b97).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1624   +/-   ##
=======================================
  Coverage   94.89%   94.89%           
=======================================
  Files          53       53           
  Lines        4803     4803           
=======================================
  Hits         4558     4558           
  Misses        245      245           
Impacted Files Coverage Δ
lib/proxy-agent.js 93.15% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ronag ronag merged commit 3ab0124 into nodejs:main Sep 28, 2022
metcoder95 pushed a commit to metcoder95/undici that referenced this pull request Dec 26, 2022
* slight refactor of test

* failing test for nodejs#1623

* ProxyAgent passing correct host headers to proxy, fixes nodejs#1623

* add issue # to test

* import fetch for proxy text
crysmags pushed a commit to crysmags/undici that referenced this pull request Feb 27, 2024
* slight refactor of test

* failing test for nodejs#1623

* ProxyAgent passing correct host headers to proxy, fixes nodejs#1623

* add issue # to test

* import fetch for proxy text
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.

ProxyAgent fails on virtual host proxy
6 participants