diff options
author | Omar Polo <op@omarpolo.com> | 2024-06-10 10:25:54 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2024-06-10 10:25:54 +0000 |
commit | f2c45fdab09688285c3e69d1bcd7d9b507071a0e (patch) | |
tree | df938280c0cbad72b386d4a0b4d7c3a98b1d9693 /server.c | |
parent | d4955d289157e9a721ab5bd1577ed81da8a39a68 (diff) |
warn instead of dieing on unknown accept(2) failures
Diffstat (limited to 'server.c')
-rw-r--r-- | server.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1308,7 +1308,8 @@ server_accept(int sock, short et, void *d) if (errno == EWOULDBLOCK || errno == EAGAIN || errno == ECONNABORTED) return; - fatal("accept"); + log_warnx("accept failed"); + return; } mark_nonblock(fd); |