From f2c45fdab09688285c3e69d1bcd7d9b507071a0e Mon Sep 17 00:00:00 2001 From: Omar Polo Date: Mon, 10 Jun 2024 10:25:54 +0000 Subject: warn instead of dieing on unknown accept(2) failures --- server.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'server.c') diff --git a/server.c b/server.c index 555418f..6a10569 100644 --- a/server.c +++ b/server.c @@ -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); -- cgit v1.2.3