serenity/Libraries/LibIPC
Andreas Kling 9103471863 LibIPC: Handle partial messages
Since we're using byte streamed Unix sockets for the IPC protocols,
it's possible for the kernel to run out of socket buffer space with
a partial message near the end of the buffer.

Handle this situation in IPC::Connection by buffering the bytes of
what may be a partial message, and prepending them to the incoming
data next time we receive from the peer.

This fixes WindowServer asserting when a peer is spamming it hard.
2020-10-25 11:37:42 +01:00
..
ClientConnection.h LibIPC: Remove unused DisconnectedEvent mechanism 2020-09-12 14:49:29 +02:00
CMakeLists.txt
Connection.h LibIPC: Handle partial messages 2020-10-25 11:37:42 +01:00
Decoder.cpp LibIPC: Silence a warning when compiling with gcc -O0 2020-10-01 19:16:35 +02:00
Decoder.h LibIPC: Make IPC::encode() and ::decode() fail at compiletime when used 2020-10-04 23:12:28 +02:00
Dictionary.h
Encoder.cpp
Encoder.h LibIPC: Make IPC::encode() and ::decode() fail at compiletime when used 2020-10-04 23:12:28 +02:00
Endpoint.cpp
Endpoint.h
Forward.h
Message.cpp
Message.h
ServerConnection.h LibIPC: Move notifier handling entirely to IPC::Connection base class 2020-09-12 14:49:29 +02:00