1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-02 23:18:14 +00:00
serenity/Userland/Libraries/LibWebSocket
Andreas Kling 1735d978ed LibWebSocket: Use deferred_invoke() when discarding a connection
We don't want to destroy the WebSocketImpl while we're still using it
higher up the stack. By using deferred_invoke(), we allow the stack
to unwind before actually destroying any objects.

This fixes an issue with the WebSocket service crashing on immediate
connection failure.
2021-09-18 12:57:58 +02:00
..
Impl AK: Make URL::m_port an Optional<u16>, Expose raw port getter 2021-09-14 00:14:45 +02:00
CMakeLists.txt LibWebSocket: Add a new websocket library 2021-04-18 22:42:10 +02:00
ConnectionInfo.cpp LibWebSocket+telws: Use my own copyright headers :^) 2021-04-25 19:04:34 +02:00
ConnectionInfo.h LibWebSocket+telws: Use my own copyright headers :^) 2021-04-25 19:04:34 +02:00
Message.h Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safe 2021-09-06 01:53:26 +02:00
WebSocket.cpp LibWebSocket: Use deferred_invoke() when discarding a connection 2021-09-18 12:57:58 +02:00
WebSocket.h LibWebSocket: Fix a handful of clang-tidy warnings in WebSocket.{cpp,h} 2021-09-18 12:48:34 +02:00