mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00: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 |