ladybird/Libraries/LibIPC
Andreas Kling 80d800e6d4 LibIPC: Don't assert on short writes in IPC::ClientConnection
This stops servers from crashing when a client's socket buffer becomes
full and we can't post any more messages to it. Normally this means the
client process is hanged/spinning, but I suppose this could also happen
under severe system load.

It's unclear to me what a better solution here would be. We can't keep
buffering messages indefinitely if the client is just never going to
receive them anyway. At some point we have to cut our losses, and it
seems pretty reasonable to let the kernel socket buffer be the cutoff.

It will be the responsibility of the individual server implementations
to avoid sending messages to clients that may be unable to handle them.
2020-07-03 14:05:09 +02:00
..
ClientConnection.h LibIPC: Don't assert on short writes in IPC::ClientConnection 2020-07-03 14:05:09 +02:00
CMakeLists.txt Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
Decoder.cpp LibIPC+Services: Support URL as a native IPC type 2020-06-07 22:55:33 +02:00
Decoder.h LibIPC+LibGfx+IPCCompiler: Drop some unused includes 2020-06-08 13:58:32 +02:00
Dictionary.h LibIPC: Add a simple IPC::Dictionary type (String key -> String value) 2020-05-03 23:01:58 +02:00
Encoder.cpp LibIPC+Services: Support URL as a native IPC type 2020-06-07 22:55:33 +02:00
Encoder.h LibIPC+Services: Support URL as a native IPC type 2020-06-07 22:55:33 +02:00
Endpoint.cpp LibIPC: Remove leading I from filenames 2020-02-06 14:54:09 +01:00
Endpoint.h LibIPC: Remove leading I from filenames 2020-02-06 14:54:09 +01:00
Forward.h LibIPC: Add a simple IPC::Dictionary type (String key -> String value) 2020-05-03 23:01:58 +02:00
Message.cpp LibIPC: Remove leading I from filenames 2020-02-06 14:54:09 +01:00
Message.h LibIPC+IPCCompiler: Remove some unused members from generated messages 2020-02-15 12:10:48 +01:00
ServerConnection.h LibIPC: Add setters for overriding the client/server PID if needed 2020-06-21 21:54:30 +02:00