1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-21 19:21:00 +00:00
serenity/Userland/Libraries/LibIPC
networkException b0461c1522 LibIPC: Process remaining read bytes before shutting down due to EOF
Previously we would shut down an ipc connection regardless of if there
were still bytes that have been read and not been handed over to
processing, causing WindowServer not to receive
WindowServer::SetFlashFlush messages sent by `wsctl -f` except the first
one.

This patch fixes that behavior by still shutting the connection down due
to having reached EOF while also processing remaining bytes.

Resolves #12954

See also #8912 which fixes the same issue that this patch fixes but also
seems to have initially broken SettingsWindow cancel not actually
closing the window unless the cursor got moved as described in #12003.
Pull request #12547 fixing the SettingsWindow behavior broke `wsctl`
again by always shutting down.
2022-06-05 22:10:02 +01:00
..
CMakeLists.txt Libraries: Use default constructors/destructors in LibIPC 2022-03-13 22:34:38 +01:00
Connection.cpp LibIPC: Process remaining read bytes before shutting down due to EOF 2022-06-05 22:10:02 +01:00
Connection.h Libraries: Use default constructors/destructors in LibIPC 2022-03-13 22:34:38 +01:00
ConnectionFromClient.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
ConnectionToServer.h Userland: Rename IPC::ServerConnection=>IPC::ConnectionToServer 2022-02-25 22:35:12 +01:00
Decoder.cpp RequestServer+LibProtocol: Allow users to specify a per-request proxy 2022-04-09 12:21:43 +02:00
Decoder.h LibIPC: Allow transporting a SharedCircularQueue over IPC 2022-04-21 13:55:00 +02:00
Dictionary.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Encoder.cpp RequestServer+LibProtocol: Allow users to specify a per-request proxy 2022-04-09 12:21:43 +02:00
Encoder.h LibIPC: Allow transporting a SharedCircularQueue over IPC 2022-04-21 13:55:00 +02:00
File.h LibIPC: Use default instead of an empty constructor/destructor 2021-09-16 17:17:13 +02:00
Forward.h LibIPC: Add IPC::Stub to forwarding header 2021-10-24 01:01:01 +02:00
Message.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
MultiServer.h Userland: Rename IPC ClientConnection => ConnectionFromClient 2022-02-25 22:35:12 +01:00
SingleServer.h Userland: Rename IPC ClientConnection => ConnectionFromClient 2022-02-25 22:35:12 +01:00
Stub.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00