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

implement candidate compromise proposal for websockets #1558

Merged
merged 2 commits into from
Mar 2, 2021

Conversation

slingamn
Copy link
Member

  1. Text and binary frames are accepted
  2. Text frames are sent by default
  3. Binary frames are sent to clients who negotiate binary.ircv3.net
  4. Non-UTF8 data is not accepted (enabling websockets still enables UTFONLY)

1. Text and binary frames are accepted
2. Text frames are sent by default
3. Binary frames are sent to clients who negotiate `binary.ircv3.net`
4. Non-UTF8 data is not accepted (enabling websockets still enables UTFONLY)
As of ergochat#1483, websockets entail enforce-utf8, so there's no need
to check globalUTF8EnforcementSetting when handling websockets.
@slingamn
Copy link
Member Author

slingamn commented Mar 1, 2021

This also implements proposal 3 ("binary baseline").

@slingamn
Copy link
Member Author

slingamn commented Mar 2, 2021

Actually, this also works with the original proposal that had "consensus" (subprotocols, no interoperable baseline). So I'm just going to merge it.

@slingamn slingamn merged commit 1762a16 into ergochat:master Mar 2, 2021
@slingamn slingamn added this to the v2.6 milestone Mar 2, 2021
@slingamn
Copy link
Member Author

Specifically, this implements 20089b17d7151 on ircv3/ircv3-specifications#342

@slingamn slingamn deleted the websocket_compromise branch January 28, 2025 07:30
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.

1 participant