gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [libmicrohttpd] 01/05: internal_run_from_select(): remove e


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] 01/05: internal_run_from_select(): remove extra call for epoll run as epoll called directly
Date: Sun, 14 May 2017 14:11:19 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit a66ec8da4269cbaf27b902716b63d16de51459e7
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Sun May 14 14:16:29 2017 +0300

    internal_run_from_select(): remove extra call for epoll run as epoll called 
directly
---
 src/microhttpd/daemon.c | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index de36296f..74686269 100644
--- 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) &&

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]