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

Accept capitalization in HTTP upgrade header in web #150961

Merged
merged 1 commit into from
Jun 1, 2022

Conversation

robinkar
Copy link
Contributor

@robinkar robinkar commented Jun 1, 2022

This PR makes VS Code web accept capitalization in HTTP upgrade header instead of only accepting Upgrade: websocket.

This solves a bug where the websocket connection fails with status 1006 when running VS Code web behind an Apache proxy that is using mod_proxy_wstunnel since mod_proxy_wstunnel sends the header Upgrade: WebSocket.
Relevant discussion about this bug can be found here.

@robinkar robinkar force-pushed the capitalized-upgrade-header branch from 5bb7f87 to 05c412c Compare June 1, 2022 12:11
@bpasero bpasero assigned alexdima and unassigned bpasero Jun 1, 2022
@alexdima alexdima added this to the May 2022 milestone Jun 1, 2022
Copy link
Member

@alexdima alexdima left a comment

Choose a reason for hiding this comment

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

Thank you!

@alexdima alexdima enabled auto-merge (squash) June 1, 2022 12:36
@alexdima alexdima merged commit 37fb265 into microsoft:main Jun 1, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants