good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit e4c3b0f8 authored by Egor Gorbunov's avatar Egor Gorbunov Committed by GitHub
Browse files

Do not lower header tokens in headerTokens() (#273)

HTTP header values, as opposed to header keys,
are case sensitive, but implementation of headerTokens()
before this patch would return lowered values always.

This old behavior could lead to chromium (v87) WebSocket
rejecting connnection because negotiated subprotocol,
returned in Sec-WebSocket-Protocol header (lowered
be headerToken() function) would not match one sent
by client, in case client specified value with capital
letters.
parent c9f314ab
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment