websockets / ws

Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js
MIT License
21.6k stars 2.42k forks source link

Protocol support very outdated #501

Closed Temptin closed 7 years ago

Temptin commented 9 years ago

The front page says the following about Protocol support:

Hixie draft 76 (Old and deprecated, but still in use by Safari and Opera.)
HyBi drafts 07-12
HyBi drafts 13-17

Unless people are using a 5 years old Safari (5.x) or Opera, this is totally false. The only reason someone would use Safari 5.x is if they're still using an iPad 1 (iOS 5 is stuck on Safari 5), or if they're using the final Safari for PC (5.x). But who uses Safari on PC anymore? Apple killed it 5 years ago to focus all their work on the Mac version instead.

Every browser made after December 2011 supports RFC 6455: http://en.wikipedia.org/wiki/WebSocket#Browser_support

And if we're going to "bully" browsers by labeling them based on older versions of the browser, why not also say that "Hixie draft 76" is used by Android and Chrome 5 years ago?

Anyway, I propose this change:

Hixie draft 76 (Old and deprecated, but still in use by browsers older than 2011, such as Safari on iOS 4/5 and various old Android versions.)
HyBi drafts 07-12
HyBi drafts 13-17 (Supported by [http://en.wikipedia.org/wiki/WebSocket#Browser_support](all major browsers released after December 2011))

Here is a full list of old versions of major browsers that still use Hixie: https://github.com/Atmosphere/atmosphere/wiki/How-to-use-the-older-WebSocket-draft-00-hybi-00-hixie-76-protocol

EddieOne commented 9 years ago

You could submit a pull request

Temptin commented 9 years ago

@EddieOne Yeah but that is overkill for a small edit like this. I provided example markup already, to get the ball rolling.

sam-github commented 9 years ago

PRs can be merged by pressing a button, you want busy people to hand edit a README for you, if it bugs you, PR it.

lpinca commented 7 years ago

Hixie-76 is no longer supported, closing.