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

[client handshake]: send Connection: Upgrade #32

Merged
merged 1 commit into from
May 27, 2021

Conversation

niklasad1
Copy link
Member

I found an edge-case where a server refused the handshake based on that
soketto was sending Connection: upgrade instead of Connection: Upgrade.

See https://datatracker.ietf.org/doc/html/rfc6455#section-1.2 for further info.

I found an edge-case where a server refused the handshake based on that
soketto was sending `Connection: upgrade` instead of `Connection: Upgrade`.

See https://datatracker.ietf.org/doc/html/rfc6455#section-1.2 for further info.
@niklasad1 niklasad1 requested review from tomaka and dvdplm May 26, 2021 12:22
@dvdplm
Copy link
Contributor

dvdplm commented May 26, 2021

I thought http headers were case insensitive. What was the server that did not accept upgrade?

@dvdplm
Copy link
Contributor

dvdplm commented May 26, 2021

Oh I see, the header names are insensitive, the values may or may not be.

@tomaka tomaka merged commit 3c0f8fb into develop May 27, 2021
@tomaka tomaka deleted the na-client-handshake-acc-to-spec branch May 27, 2021 07:05
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.

4 participants