ladybird/Services
Luke Wilde 9c5dff5be0 RequestServer+LibWebSocket: Drain underlying socket and resulting frames
`curl_easy_recv` must be called in a loop until it returns EAGAIN,
because it may cache data, but only activate the read notifier once.

Additionally, the data received can contain multiple WebSocket frames
and only activate the notifier once, so we have to keep reading frames
until there isn't enough data.

We also have to do this immediately after connecting a WebSocket,
since the server may immediately send data when the WebSocket opens
and before we create the read notifier.

This makes Discord login faster and more reliable, and makes Discord
activities start loading.
2025-07-22 13:55:45 +02:00
..
ImageDecoder ImageDecoder: Make it compile for Android 2025-07-10 15:44:53 -06:00
RequestServer RequestServer+LibWebSocket: Drain underlying socket and resulting frames 2025-07-22 13:55:45 +02:00
WebContent LibWeb: Allow to pass pseudo-element type in computed properties getter 2025-07-18 21:19:37 +02:00
WebDriver Everywhere: Rename serenity_main to ladybird_main 2025-07-08 09:17:16 -04:00
WebWorker LibWeb+WebWorker: Use IPC mechanics for structured serialization 2025-07-18 10:09:02 -04:00
CMakeLists.txt