Files
ladybird/Libraries/LibRequests/WebSocket.cpp
Sam Atkins c880a34541 LibRequests: Fail websockets when RequestServer dies
Detach live websocket wrappers from a dead RequestServer connection,
notify them with error and close events, and defer the
on_request_server_died callback out of RequestClient::die().

Without this, a dead RequestServer could leave existing websocket
objects stuck forever and future websocket construction could keep
using a stale RequestClient with no terminal events.
2026-05-05 19:14:29 +02:00

2.1 KiB