aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-11-23 11:27:03 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-11-23 13:47:00 +0300
commita19df909da3adad4dc78dd086e315ad005c484bf (patch)
tree510ce2931d547f0eb359ab908add356f74ade50a /src/include/microhttpd.h
parent67b1cdc29dfb1f260e0d31df3121e01d8ecad027 (diff)
downloadlibmicrohttpd-a19df909da3adad4dc78dd086e315ad005c484bf.tar.gz
libmicrohttpd-a19df909da3adad4dc78dd086e315ad005c484bf.zip
Officially support zero for MHD_OPTION_THREAD_POOL_SIZE
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r--src/include/microhttpd.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 13bd2cbf..0c11d308 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -1817,10 +1817,9 @@ enum MHD_OPTION
1817 /** 1817 /**
1818 * Number (`unsigned int`) of threads in thread pool. Enable 1818 * Number (`unsigned int`) of threads in thread pool. Enable
1819 * thread pooling by setting this value to to something 1819 * thread pooling by setting this value to to something
1820 * greater than 1. Currently, thread mode must be 1820 * greater than 1.
1821 * #MHD_USE_INTERNAL_POLLING_THREAD if thread pooling is enabled 1821 * Can be used only for daemons started with #MHD_USE_INTERNAL_POLLING_THREAD.
1822 * (#MHD_start_daemon returns NULL for an unsupported thread 1822 * Ignored if followed by zero value.
1823 * mode).
1824 */ 1823 */
1825 MHD_OPTION_THREAD_POOL_SIZE = 14, 1824 MHD_OPTION_THREAD_POOL_SIZE = 14,
1826 1825