Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

websocket: set the HTTP host header #1834

Merged
merged 4 commits into from
Oct 20, 2022
Merged

Conversation

MarcoPolo
Copy link
Collaborator

@MarcoPolo MarcoPolo commented Oct 19, 2022

Closes #1829. Fixes a regression in not sending the host header. Sends the host header on WSS dials when an SNI is specified. Also adds a test to verify the host header is seen by the server.

@thibmeu wrote the original patch and I contributed to the test.

Co-authored-by: Thibault Meunier <thibault@cloudflare.com>
@marten-seemann marten-seemann changed the title Send host header websocket: set the HTTP host header Oct 19, 2022
@MarcoPolo MarcoPolo merged commit 3e156d0 into master Oct 20, 2022
@p-shahi p-shahi mentioned this pull request Dec 5, 2022
34 tasks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants