diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-11-08 17:57:00 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-11-08 20:15:01 +0300 |
commit | 09b7e335d8adc36926543305f3ee8d1b4961b0ab (patch) | |
tree | a6865858e3cd740d6c406295f8ac5e415afce66c | |
parent | dcb24300bdeb296335bae0c199d051ed92a92b48 (diff) | |
download | libmicrohttpd-09b7e335d8adc36926543305f3ee8d1b4961b0ab.tar.gz libmicrohttpd-09b7e335d8adc36926543305f3ee8d1b4961b0ab.zip |
Added ignore of MHD_OPTION_APP_FD_SETSIZE when poll() is used
-rw-r--r-- | src/microhttpd/daemon.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c index 20916a2f..2489728f 100644 --- a/src/microhttpd/daemon.c +++ b/src/microhttpd/daemon.c | |||
@@ -7186,6 +7186,16 @@ process_interim_params (struct MHD_Daemon *d, | |||
7186 | _ ("MHD_OPTION_APP_FD_SETSIZE is ignored for daemon started " \ | 7186 | _ ("MHD_OPTION_APP_FD_SETSIZE is ignored for daemon started " \ |
7187 | "with MHD_USE_INTERNAL_POLLING_THREAD.\n")); | 7187 | "with MHD_USE_INTERNAL_POLLING_THREAD.\n")); |
7188 | #endif /* HAVE_MESSAGES */ | 7188 | #endif /* HAVE_MESSAGES */ |
7189 | (void) 0; | ||
7190 | } | ||
7191 | else if (MHD_D_IS_USING_POLL_ (d)) | ||
7192 | { | ||
7193 | #ifdef HAVE_MESSAGES | ||
7194 | MHD_DLOG (d, | ||
7195 | _ ("MHD_OPTION_APP_FD_SETSIZE is ignored for daemon started " \ | ||
7196 | "with MHD_USE_POLL.\n")); | ||
7197 | #endif /* HAVE_MESSAGES */ | ||
7198 | (void) 0; | ||
7189 | } | 7199 | } |
7190 | else | 7200 | else |
7191 | { /* The daemon without internal threads, external sockets polling */ | 7201 | { /* The daemon without internal threads, external sockets polling */ |