mirror of
https://github.com/RGBCube/serenity
synced 2025-10-24 04:12:30 +00:00
Frames with large payloads may arrive in multiple chunks, so it's not safe to assume that the whole frame is available for reading just because we got a first "ready to read" notification. This patch solves this in a very naive way by simply buffering incoming frame data and trying to reparse a frame every time new data arrives. This is definitely inefficient, but it works as a start. With this, it's now possible to log in to Discord in Ladybird! :^) |
||
|---|---|---|
| .. | ||
| Impl | ||
| CMakeLists.txt | ||
| ConnectionInfo.cpp | ||
| ConnectionInfo.h | ||
| Message.h | ||
| WebSocket.cpp | ||
| WebSocket.h | ||