diff options
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r-- | src/microhttpd/daemon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 563c5bb4..a5e0f076 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -1568,6 +1568,8 @@ MHD_cleanup_connections (struct MHD_Daemon *daemon) | |||
1568 | (struct sockaddr *) pos->addr, | 1568 | (struct sockaddr *) pos->addr, |
1569 | pos->addr_len); | 1569 | pos->addr_len); |
1570 | #if EPOLL_SUPPORT | 1570 | #if EPOLL_SUPPORT |
1571 | if (0 != (pos->epoll_state & MHD_EPOLL_STATE_IN_EREADY_EDLL)) | ||
1572 | MHD_PANIC ("Internal error"); | ||
1571 | if ( (0 != (daemon->options & MHD_USE_EPOLL_LINUX_ONLY)) && | 1573 | if ( (0 != (daemon->options & MHD_USE_EPOLL_LINUX_ONLY)) && |
1572 | (-1 != daemon->epoll_fd) && | 1574 | (-1 != daemon->epoll_fd) && |
1573 | (0 != (pos->epoll_state & MHD_EPOLL_STATE_IN_EPOLL_SET)) ) | 1575 | (0 != (pos->epoll_state & MHD_EPOLL_STATE_IN_EPOLL_SET)) ) |