gnunet-svn
[Top][All Lists]
Advanced

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

[libmicrohttpd] 04/13: MHD_start_daemon(): reject INTERNAL_POLLING_THREA


From: gnunet
Subject: [libmicrohttpd] 04/13: MHD_start_daemon(): reject INTERNAL_POLLING_THREAD if threads are disabled
Date: Thu, 23 Nov 2023 11:49:07 +0100

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

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit a54fe75ecddd2dd7db9abe3cea2e31eb4b3ff9ca
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Tue Nov 21 09:53:20 2023 +0300

    MHD_start_daemon(): reject INTERNAL_POLLING_THREAD if threads are disabled
---
 src/microhttpd/daemon.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index a696b260..78153056 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -7626,6 +7626,11 @@ MHD_start_daemon_va (unsigned int flags,
     return NULL;
 #endif /* ! UPGRADE_SUPPORT */
   }
+#ifndef MHD_USE_THREADS
+  if (0 != (*pflags & MHD_USE_INTERNAL_POLLING_THREAD))
+    return NULL;
+#endif /* ! MHD_USE_THREADS */
+
   if (NULL == dh)
     return NULL;
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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