libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit a66ec8da4269cbaf27b902716b63d16de51459e7
parent 858483b5bea9ca30f3384129f956664bc0282e61
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Sun, 14 May 2017 14:16:29 +0300

internal_run_from_select(): remove extra call for epoll run as epoll called directly

Diffstat:
Msrc/microhttpd/daemon.c | 15---------------
1 file changed, 0 insertions(+), 15 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c @@ -3353,21 +3353,6 @@ internal_run_from_select (struct MHD_Daemon *daemon, read_fd_set)) ) MHD_itc_clear_ (daemon->itc); -#ifdef EPOLL_SUPPORT - if (0 != (daemon->options & MHD_USE_EPOLL)) - { - /* we're in epoll mode, the epoll FD stands for - the entire event set! */ - if (! MHD_SCKT_FD_FITS_FDSET_(daemon->epoll_fd, - NULL)) - return MHD_NO; /* poll fd too big, fail hard */ - if (FD_ISSET (daemon->epoll_fd, - read_fd_set)) - return MHD_run (daemon); - return MHD_YES; - } -#endif - /* select connection thread handling type */ if ( (MHD_INVALID_SOCKET != (ds = daemon->listen_fd)) && (! daemon->was_quiesced) &&