aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r--src/microhttpd/connection.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 279aeaff..cccfa774 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -2895,7 +2895,7 @@ MHD_connection_handle_idle (struct MHD_Connection *connection)
2895 } 2895 }
2896 MHD_connection_update_event_loop_info (connection); 2896 MHD_connection_update_event_loop_info (connection);
2897#ifdef EPOLL_SUPPORT 2897#ifdef EPOLL_SUPPORT
2898 if (0 != (daemon->options & MHD_USE_EPOLL_LINUX_ONLY)) 2898 if (0 != (daemon->options & MHD_USE_EPOLL))
2899 { 2899 {
2900 switch (connection->event_loop_info) 2900 switch (connection->event_loop_info)
2901 { 2901 {
@@ -2959,7 +2959,7 @@ MHD_connection_epoll_update_ (struct MHD_Connection *connection)
2959{ 2959{
2960 struct MHD_Daemon *daemon = connection->daemon; 2960 struct MHD_Daemon *daemon = connection->daemon;
2961 2961
2962 if ( (0 != (daemon->options & MHD_USE_EPOLL_LINUX_ONLY)) && 2962 if ( (0 != (daemon->options & MHD_USE_EPOLL)) &&
2963 (0 == (connection->epoll_state & MHD_EPOLL_STATE_IN_EPOLL_SET)) && 2963 (0 == (connection->epoll_state & MHD_EPOLL_STATE_IN_EPOLL_SET)) &&
2964 (0 == (connection->epoll_state & MHD_EPOLL_STATE_SUSPENDED)) && 2964 (0 == (connection->epoll_state & MHD_EPOLL_STATE_SUSPENDED)) &&
2965 ( (0 == (connection->epoll_state & MHD_EPOLL_STATE_WRITE_READY)) || 2965 ( (0 == (connection->epoll_state & MHD_EPOLL_STATE_WRITE_READY)) ||