aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-11-15 15:22:43 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-11-15 15:22:43 +0300
commitdc4bbb0c82373a8b8dca70210392ba804ee62d3d (patch)
tree8b139d8e4fc926ff064f86f7545a23a0c3539794
parentb6737ab39b9df59acad1fe6fb7dc673ddf8e03db (diff)
downloadlibmicrohttpd-dc4bbb0c82373a8b8dca70210392ba804ee62d3d.tar.gz
libmicrohttpd-dc4bbb0c82373a8b8dca70210392ba804ee62d3d.zip
Additional corrections for MHD_OPTION_APP_FD_SETSIZE
-rw-r--r--src/microhttpd/daemon.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index b2420ca8..8d39c7ac 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -7382,7 +7382,6 @@ process_interim_params (struct MHD_Daemon *d,
7382 } 7382 }
7383 else 7383 else
7384 { /* The daemon without internal threads, external sockets polling */ 7384 { /* The daemon without internal threads, external sockets polling */
7385#ifdef MHD_POSIX_SOCKETS
7386#ifndef HAS_FD_SETSIZE_OVERRIDABLE 7385#ifndef HAS_FD_SETSIZE_OVERRIDABLE
7387 if (((int) FD_SETSIZE) != params->fdset_size) 7386 if (((int) FD_SETSIZE) != params->fdset_size)
7388 { 7387 {
@@ -7399,7 +7398,6 @@ process_interim_params (struct MHD_Daemon *d,
7399 d->fdset_size = params->fdset_size; 7398 d->fdset_size = params->fdset_size;
7400 d->fdset_size_set_by_app = true; 7399 d->fdset_size_set_by_app = true;
7401#endif /* HAS_FD_SETSIZE_OVERRIDABLE */ 7400#endif /* HAS_FD_SETSIZE_OVERRIDABLE */
7402#endif /* MHD_POSIX_SOCKETS */
7403 } 7401 }
7404 } 7402 }
7405 7403