Skip to content

Fixed websocket handshake issue with latest Firefox#205

Merged
auscaster merged 1 commit intosourcey:masterfrom
lutsykigor:master
Dec 4, 2017
Merged

Fixed websocket handshake issue with latest Firefox#205
auscaster merged 1 commit intosourcey:masterfrom
lutsykigor:master

Conversation

@lutsykigor
Copy link
Contributor

I have encountered that websocket handshake is not working with latest Firefox.
The reason is in "Connection" header that is send by Firefox, instead of having value "upgrade", it has "keep-alive, Upgrade". Maybe it is a bit ugly fix, but I didn't want to use find or regular expression to check "Connection" header value in single statement for multiple browsers, in order to avoid any potential issues with using word "upgrade" inside "Connection" header.

@auscaster
Copy link
Member

Hey there, thanks for this. I'll push this for now and make a note for future optimisation! Cheers

@auscaster auscaster merged commit 66b5880 into sourcey:master Dec 4, 2017
auscaster added a commit that referenced this pull request Mar 23, 2026
Fixed websocket handshake issue with latest Firefox
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.

2 participants