Services: Add a WebSocket service

The WebSocket service isolates communication with a WebSocket to its
own isolated process. Similar to other isolating services, it has its
own user and group.
This commit is contained in:
DexesTTP 2021-04-24 01:46:49 +02:00 committed by Linus Groh
commit 62ed26164b
Notes: sideshowbarker 2024-07-18 19:05:57 +09:00
16 changed files with 582 additions and 1 deletions

View file

@ -559,6 +559,9 @@ void WebSocket::discard_connection()
{
VERIFY(m_impl);
m_impl->discard_connection();
m_impl->on_connection_error = nullptr;
m_impl->on_connected = nullptr;
m_impl->on_ready_to_read = nullptr;
m_impl = nullptr;
}