mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-05 22:52:10 +02:00
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