libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 9f22ba9b0bc726791d182871cebae4990e341194
parent 759eb24fbdc88d070cf4bfcefe53de4edbc07a41
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Thu,  6 Oct 2022 13:29:23 +0300

microhttpd.h: improved doxy for MHD_USE_THREAD_PER_CONNECTION

Diffstat:
Msrc/include/microhttpd.h | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -1245,6 +1245,11 @@ enum MHD_FLAG /** * Run using one thread per connection. * Must be used only with #MHD_USE_INTERNAL_POLLING_THREAD. + * + * If #MHD_USE_ITC is also not used, closed and expired connections may only + * be cleaned up internally when a new connection is received. + * Consider adding of #MHD_USE_ITC flag to have faster internal cleanups + * at very minor increase in system resources usage. */ MHD_USE_THREAD_PER_CONNECTION = 4,