Skip to content

Conversation

@The-EDev
Copy link
Member

@The-EDev The-EDev commented Nov 9, 2020

This PR:

  • Documents websocket.h and adds websocket message structure illustration.
  • Cleans up a small problem with app.h documentation.
  • Adds support for non masked client messages. (closes Crow does not accept 0 MASK bit in websockets #43)
  • Adds functionality to send a ping message from the server.
  • Exposes methods to send Ping and Pong to the end-user.
  • Resets the internal header variable before every read. (fixing potential issues where read is run and no actual data is taken from the socket)
  • Adds a test for websockets. (Tests #21)
  • Implements ipkn#328 (fixing a potential crash when using SSL websockets).
  • Allows for Ping and Pong payloads to be larger than 127 bytes.

I apologize ahead of time for any typos I missed.

@The-EDev The-EDev requested a review from mrozigor November 9, 2020 02:52
…ytes anymore

Has the added advantage of making the code look more consistent, while sacrificing some performance (very little though)
@The-EDev The-EDev merged commit 515fa68 into master Nov 10, 2020
@The-EDev The-EDev deleted the websocket branch November 11, 2020 21:39
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.

Crow does not accept 0 MASK bit in websockets

3 participants