diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-11-07 12:47:08 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-11-07 20:49:10 +0300 |
commit | 89c1076aac6e187028ba2f27a43ae1f4393e0e5a (patch) | |
tree | c7aa0414c37995b353116ce81a6981120a8057bf /doc/examples | |
parent | a1954f60983daebf89947a08bd46471d6b7a9587 (diff) | |
download | libmicrohttpd-89c1076aac6e187028ba2f27a43ae1f4393e0e5a.tar.gz libmicrohttpd-89c1076aac6e187028ba2f27a43ae1f4393e0e5a.zip |
Added MHD_OPTION_APP_FD_SETSIZE and MHD_FEATURE_FLEXIBLE_FD_SETSIZE
This should provide better compatibility with platforms with ability
to override FD_SETSIZE.
The new option is used examples and tests.
Diffstat (limited to 'doc/examples')
-rw-r--r-- | doc/examples/sessions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/examples/sessions.c b/doc/examples/sessions.c index 2f3e6fe5..958a775f 100644 --- a/doc/examples/sessions.c +++ b/doc/examples/sessions.c | |||
@@ -761,6 +761,7 @@ main (int argc, char *const *argv) | |||
761 | MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 15, | 761 | MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) 15, |
762 | MHD_OPTION_NOTIFY_COMPLETED, | 762 | MHD_OPTION_NOTIFY_COMPLETED, |
763 | &request_completed_callback, NULL, | 763 | &request_completed_callback, NULL, |
764 | MHD_OPTION_APP_FD_SETSIZE, (int) FD_SETSIZE, | ||
764 | MHD_OPTION_END); | 765 | MHD_OPTION_END); |
765 | if (NULL == d) | 766 | if (NULL == d) |
766 | return 1; | 767 | return 1; |