Explorar el Código

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

Evgeny Grin (Karlson2k) hace 8 años
padre
commit
a66ec8da42
Se han modificado 1 ficheros con 0 adiciones y 15 borrados
  1. 0 15
      src/microhttpd/daemon.c

+ 0 - 15
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) &&