gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] branch master updated: fix #6036


From: gnunet
Subject: [libmicrohttpd] branch master updated: fix #6036
Date: Fri, 07 Feb 2020 14:27:36 +0100

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

grothoff pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new 6da31a1c fix #6036
6da31a1c is described below

commit 6da31a1c9f88710011b615c8efd0cf9895a45822
Author: Christian Grothoff <address@hidden>
AuthorDate: Fri Feb 7 14:23:50 2020 +0100

    fix #6036
---
 src/microhttpd/daemon.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 516b432e..6ef007c2 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -3131,6 +3131,7 @@ MHD_add_connection (struct MHD_Daemon *daemon,
 {
   bool sk_nonbl;
 
+  MHD_cleanup_connections (daemon);
   if (! MHD_socket_nonblocking_ (client_socket))
   {
 #ifdef HAVE_MESSAGES
@@ -4814,9 +4815,9 @@ unescape_wrapper (void *cls,
  * @param flags combination of `enum MHD_FLAG` values
  * @param port port to bind to (in host byte order),
  *        use '0' to bind to random free port,
- *        ignored if MHD_OPTION_SOCK_ADDR or
- *        MHD_OPTION_LISTEN_SOCKET is provided
- *        or MHD_USE_NO_LISTEN_SOCKET is specified
+ *        ignored if #MHD_OPTION_SOCK_ADDR or
+ *        #MHD_OPTION_LISTEN_SOCKET is provided
+ *        or #MHD_USE_NO_LISTEN_SOCKET is specified
  * @param apc callback to call to check which clients
  *        will be allowed to connect; you can pass NULL
  *        in which case connections from any IP will be
@@ -5677,9 +5678,9 @@ setup_epoll_to_listen (struct MHD_Daemon *daemon)
  * @param flags combination of `enum MHD_FLAG` values
  * @param port port to bind to (in host byte order),
  *        use '0' to bind to random free port,
- *        ignored if MHD_OPTION_SOCK_ADDR or
- *        MHD_OPTION_LISTEN_SOCKET is provided
- *        or MHD_USE_NO_LISTEN_SOCKET is specified
+ *        ignored if #MHD_OPTION_SOCK_ADDR or
+ *        #MHD_OPTION_LISTEN_SOCKET is provided
+ *        or #MHD_USE_NO_LISTEN_SOCKET is specified
  * @param apc callback to call to check which clients
  *        will be allowed to connect; you can pass NULL
  *        in which case connections from any IP will be

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



reply via email to

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