warn instead of dieing on unknown accept(2) failures

This commit is contained in:
Omar Polo 2024-06-10 10:25:54 +00:00
parent d4955d2891
commit f2c45fdab0
1 changed files with 2 additions and 1 deletions

View File

@ -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);