mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
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:
parent
c11ca9df33
commit
62ed26164b
Notes:
sideshowbarker
2024-07-18 19:05:57 +09:00
Author: https://github.com/Dexesttp
Commit: 62ed26164b
Pull-request: https://github.com/SerenityOS/serenity/pull/6610
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/linusg
16 changed files with 582 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue