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(kit/feature): Ensure host is overridden as a workaround for stdlib bug. #18118

Merged
merged 1 commit into from
May 15, 2020

Conversation

brettbuddin
Copy link
Contributor

This overrides the net/http.Request.Host field in the net/http/httputil.ReverseProxy.Director function to work around a known bug in the stdlib.

Prohibits an infinite loop in our proxying.

📎 golang/go#28168

@brettbuddin brettbuddin requested review from a team, GeorgeMac and stuartcarnie and removed request for a team May 15, 2020 19:54
@brettbuddin brettbuddin merged commit 35c1583 into master May 15, 2020
@brettbuddin brettbuddin deleted the bb/fix-reverse-proxy branch May 15, 2020 20:21
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.

2 participants