mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
9103471863
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. |
||
---|---|---|
.. | ||
ClientConnection.h | ||
CMakeLists.txt | ||
Connection.h | ||
Decoder.cpp | ||
Decoder.h | ||
Dictionary.h | ||
Encoder.cpp | ||
Encoder.h | ||
Endpoint.cpp | ||
Endpoint.h | ||
Forward.h | ||
Message.cpp | ||
Message.h | ||
ServerConnection.h |