commit 09b7e335d8adc36926543305f3ee8d1b4961b0ab
parent dcb24300bdeb296335bae0c199d051ed92a92b48
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Wed, 8 Nov 2023 17:57:00 +0300
Added ignore of MHD_OPTION_APP_FD_SETSIZE when poll() is used
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
@@ -7186,6 +7186,16 @@ process_interim_params (struct MHD_Daemon *d,
_ ("MHD_OPTION_APP_FD_SETSIZE is ignored for daemon started " \
"with MHD_USE_INTERNAL_POLLING_THREAD.\n"));
#endif /* HAVE_MESSAGES */
+ (void) 0;
+ }
+ else if (MHD_D_IS_USING_POLL_ (d))
+ {
+#ifdef HAVE_MESSAGES
+ MHD_DLOG (d,
+ _ ("MHD_OPTION_APP_FD_SETSIZE is ignored for daemon started " \
+ "with MHD_USE_POLL.\n"));
+#endif /* HAVE_MESSAGES */
+ (void) 0;
}
else
{ /* The daemon without internal threads, external sockets polling */