From 422d0355f564d3b23e5532a66246cd782d2dad85 Mon Sep 17 00:00:00 2001 From: Glenn Strauss Date: Tue, 1 Feb 2022 12:23:35 -0500 Subject: [PATCH] [core] Illumos epoll incompatible w/ lighttpd impl Illumos POLLRDHUP != EPOLLRDHUP; lighttpd implementation asserts() (since lighttpd implementation defines FDEVENT_RDHUP as POLLRDHUP) --- src/fdevent_impl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/fdevent_impl.h b/src/fdevent_impl.h index 5e4952ca..ac50f413 100644 --- a/src/fdevent_impl.h +++ b/src/fdevent_impl.h @@ -36,6 +36,8 @@ struct pollfd; /* declaration */ #if defined HAVE_PORT_H && defined HAVE_PORT_CREATE && defined(__sun) # define FDEVENT_USE_SOLARIS_PORT # include +/* Illumos epoll not supported by lighttpd; POLLRDHUP != EPOLLRDHUP on Illumos*/ +# undef FDEVENT_USE_LINUX_EPOLL #endif #if defined HAVE_SYS_EVENT_H && defined HAVE_KQUEUE