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

reverseproxy: Use correct cases for websocket related headers #6621

Merged
merged 4 commits into from
Oct 11, 2024

Conversation

WeidiDeng
Copy link
Member

@WeidiDeng WeidiDeng commented Oct 11, 2024

Fix https://caddy.community/t/websockets-fail-venus-os-cerbo-gx-victron/25685

Although websocket related headers should be handled case insensitively. Some legacy servers and clients do handle them strictly according to rfc. traefik handles this case too. Popular golang websocket libraries such as gorilla also use the correct case.

@francislavoie francislavoie changed the title use correct cases for websocket related headers reverseproxy: Use correct cases for websocket related headers Oct 11, 2024
@francislavoie francislavoie added the bug 🐞 Something isn't working label Oct 11, 2024
@francislavoie francislavoie added this to the v2.9.0-beta.3 milestone Oct 11, 2024
Copy link
Member

@francislavoie francislavoie left a comment

Choose a reason for hiding this comment

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

Thanks! Looks perfect to me. I did a commit to adjust the wording a bit.

@francislavoie francislavoie enabled auto-merge (squash) October 11, 2024 08:49
@francislavoie francislavoie merged commit 48ce47f into master Oct 11, 2024
33 checks passed
@francislavoie francislavoie deleted the websocket-normalize branch October 11, 2024 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants