gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [libmicrohttpd] branch master updated: Fixed regressions in


From: gnunet
Subject: [GNUnet-SVN] [libmicrohttpd] branch master updated: Fixed regressions introduced by 4c219bf5c0d4685cb00fd7ce19dd871348b67833 and 244ef608698473115faa36d56cb2c2dae4202de8
Date: Wed, 15 Mar 2017 08:41:18 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 33d16aa3 Fixed regressions introduced by 
4c219bf5c0d4685cb00fd7ce19dd871348b67833 and 
244ef608698473115faa36d56cb2c2dae4202de8
33d16aa3 is described below

commit 33d16aa320b4e9fa8ea9ed13b45c4b1b61d3e4f0
Author: Karlson2k <address@hidden>
AuthorDate: Wed Mar 15 10:34:35 2017 +0300

    Fixed regressions introduced by 4c219bf5c0d4685cb00fd7ce19dd871348b67833 
and 244ef608698473115faa36d56cb2c2dae4202de8
---
 src/microhttpd/daemon.c | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 23310faf..9e3f6231 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -88,6 +88,8 @@
 #define DEBUG_CONNECT MHD_NO
 
 
+/* Forward declarations. */
+
 /**
  * Close all connections for the daemon.
  * Must only be called when MHD_Daemon::shutdown was set to #MHD_YES.
@@ -101,6 +103,19 @@ close_all_connections (struct MHD_Daemon *daemon);
 
 
 /**
+ * Do epoll()-based processing (this function is allowed to
+ * block if @a may_block is set to #MHD_YES).
+ *
+ * @param daemon daemon to run poll loop for
+ * @param may_block #MHD_YES if blocking, #MHD_NO if non-blocking
+ * @return #MHD_NO on serious errors, #MHD_YES on success
+ */
+static int
+MHD_epoll (struct MHD_Daemon *daemon,
+          int may_block);
+
+
+/**
  * Default implementation of the panic function,
  * prints an error message and aborts.
  *
@@ -1069,7 +1084,7 @@ MHD_get_fdset2 (struct MHD_Daemon *daemon,
                 _("MHD_get_fdset2() called with except_fd_set "
                   "set to NULL. Such behavior is unsupported.\n"));
 #endif
-      except_fd_set = es;
+      except_fd_set = &es;
       FD_ZERO(except_fd_set);
     }
 
@@ -3442,7 +3457,7 @@ MHD_run_from_select (struct MHD_Daemon *daemon,
                 _("MHD_run_from_select() called with except_fd_set "
                   "set to NULL. Such behavior is deprecated.\n"));
 #endif
-      except_fd_set = es;
+      except_fd_set = &es;
       FD_ZERO(except_fd_set);
     }
   if (0 != (daemon->options & MHD_USE_EPOLL))

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



reply via email to

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