19 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) c209ce76f7 Fixed missing <errno.h> includes
While 'errno' can be defined in various headers, by standard it must
be defined in <errno.h> header.
2023-09-17 11:07:40 +03:00
Evgeny Grin (Karlson2k) 93dcf8ea91 src/examples: muted compiler warnings 2022-06-01 22:12:37 +03:00
Evgeny Grin (Karlson2k) bd41946e8f Renamed 'con_cls' -> 'req_cls' for access handler callback
The argument is actually request-specific, not connection specific. The
name was confusing.
Fixed related documentation and clarified usage.

Also fixed code where argument named 'unused' was actually used.
2022-01-18 15:18:40 +03:00
Evgeny Grin (Karlson2k) 2a412f8887 tests and examples: fixed copy-paste errors in doxy 2021-11-21 15:43:19 +03:00
Evgeny Grin (Karlson2k) 87ab1ec7f7 test and examples: check socket control functions results 2021-11-21 15:43:19 +03:00
Evgeny Grin (Karlson2k) 0b9d6e9446 Examples: fixed blocking sockets on W32
Sockets on W32 were non-blocking due to copy-paste errors.
2021-11-21 15:43:13 +03:00
Evgeny Grin (Karlson2k) 1a17440608 Muted sanitizer errors on W32 platform.
Actually MinGW headers need to be fixed.
2021-10-06 11:30:42 +03:00
Christian Grothoff de872dea2d define and use 'enum MHD_Result' 2020-04-08 23:36:41 +02:00
Christian Grothoff 972103dc28 applying uncrustify to ensure uniform indentation 2019-10-17 16:56:41 +02:00
silvioprog 30477aab57 Style fixes. 2018-10-09 01:44:50 -03:00
Evgeny Grin (Karlson2k) a5b63e992b Muted compiler warnings in examples. 2017-09-29 22:07:49 +03:00
Evgeny Grin (Karlson2k) 64b53a4e7c Added more comments for start upgrade callback function. 2017-05-15 20:06:09 +03:00
Christian Grothoff b98468404c avoid c99 construct, we do not yet require c99 elsewhere 2017-01-31 13:28:14 +01:00
Evgeny Grin (Karlson2k) 4b795e9fc6 Added MHD_USE_AUTO and MHD_USE_AUTO_INTERNAL_THREAD to simplify using of MHD by multi-platform applications 2016-11-10 22:18:20 +03:00
Evgeny Grin (Karlson2k) d5245634c2 Added MHD_USE_ERROR_LOG flag with same value as MHD_USE_DEBUG.
New name better explains flag actions.
2016-11-08 19:41:28 +03:00
Evgeny Grin (Karlson2k) a48ca85fb7 Renamed daemon flags:
MHD_USE_SELECT_INTERNALLY -> MHD_USE_INTERNAL_POLLING_THREAD
MHD_USE_POLL_INTERNALLY -> MHD_USE_POLL_INTERNAL_THREAD
MHD_USE_EPOLL_INTERNALLY -> MHD_USE_EPOLL_INTERNAL_THREAD
2016-11-08 00:54:59 +03:00
Evgeny Grin (Karlson2k) 959d55ec5e Renamed MHD flags. Now all flags are in forms MHD_USE_* or MHD_ALLOW_*. 2016-11-07 17:08:03 +03:00
Christian Grothoff d7392e0882 all flags start with MHD_USE_, rename MHD_ALLOW_UPGRADE to MHD_USE_UPGRADE for consistency 2016-11-04 17:02:56 +01:00
Christian Grothoff ca582a0633 add example for MHD upgrade use 2016-11-04 17:01:25 +01:00