ladybird/Userland/Libraries/LibIPC
Daniel Bertalan efaf9f137a LibIPC: Handle ECONNRESET when reading from the IPC socket
Reading from a socket with a dead peer returns the `ECONNRESET` error
code in some cases on Linux. This commit changes LibIPC to gracefully
shut down the socket if that happens, fixing an occasional crash in
Ladybird.

Fixes SerenityOS/ladybird#116
2022-11-24 14:37:13 +01:00
..
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
Connection.cpp LibIPC: Handle ECONNRESET when reading from the IPC socket 2022-11-24 14:37:13 +01:00
Connection.h LibIPC: Allow overriding the use of deferred_invoke() 2022-10-06 09:51:04 +02:00
ConnectionFromClient.h LibIPC: Make noise when shutting down because of an error 2022-06-10 16:35:05 +01:00
ConnectionToServer.h SystemServer+LoginServer+Userland: Switch to sid-based sockets 2022-10-03 11:11:29 +02:00
Decoder.cpp Userland: Properly define IPC::encode and IPC::decode specializations 2022-11-15 13:25:51 -05:00
Decoder.h AK+LibIPC: Add a convenience encoder/decoder for JsonValue 2022-11-08 19:58:34 -05:00
Dictionary.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Encoder.cpp Userland: Properly define IPC::encode and IPC::decode specializations 2022-11-15 13:25:51 -05:00
Encoder.h LibIPC: Forward declare the encode() and decode() template functions 2022-11-15 13:25:51 -05:00
File.h LibIPC: Use default instead of an empty constructor/destructor 2021-09-16 17:17:13 +02:00
Forward.h LibIPC: Forward declare the encode() and decode() template functions 2022-11-15 13:25:51 -05: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