30 Commits
Author SHA1 Message Date
Christian Grothoff 7d8c068e5e add tutorials for #4944 and #5085 2026-07-28 19:46:21 +02:00
Evgeny Grin (Karlson2k) 5f77812125 Minor correction for 52a5e46584 2024-01-28 23:36:40 +01:00
Christian Grothoff 52a5e46584 use correct HTTP header (content type, not content encoding) for mime type in example; do check return value in example 2024-01-21 10:33:44 +01:00
Evgeny Grin (Karlson2k) bd9b7be732 doc/examples: fixed compiler warnings 2022-06-02 09:43:12 +03:00
Evgeny Grin (Karlson2k) 351d8a65d6 Fixed old-style functions definitions 2022-04-23 15:21:19 +03:00
Evgeny Grin (Karlson2k) 4b6419b1f3 doc/examples: Fixed drop of 'const' qualifiers 2022-04-19 20:27: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
Christian Grothoff 89d2ef9732 define and use 'enum MHD_Result' (merge) 2020-04-08 23:38:07 +02:00
Christian Grothoff de872dea2d define and use 'enum MHD_Result' 2020-04-08 23:36:41 +02:00
silvioprog bcffdf809f Applied several spelling fixes. (#6142) 2020-03-31 15:08:34 -03:00
Evgeny Grin (Karlson2k) a5b63e992b Muted compiler warnings in examples. 2017-09-29 22:07:49 +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) 0b37868baf Fixed compiling examples on old compilers. 2016-09-21 16:18:00 +00:00
Christian Grothoff 3800d3820b -modernize example 2015-07-15 12:58:56 +00:00
Christian Grothoff 7c78413efa -make clear that close return value is ignored intentionally 2013-06-25 12:58:12 +00:00
Christian Grothoff 14dad00f46 cast intentionally ignored return values to void, even in examples 2013-06-21 17:55:34 +00:00
LRN aeaea9eda2 W32 compatibility, also use ISO C instead of POSIX 2013-04-23 11:38:09 +00:00
Christian Grothoff bf92eff1f8 close file, clarify license 2012-08-23 12:36:18 +00:00
Christian Grothoff 300f5594b1 making examples compile without warnings 2012-08-14 17:10:50 +00:00
Christian Grothoff dad819b72a LRN: MHD patches. Later will send patches for other issues, but at least
now it will compile.
2012-07-08 13:06:28 +00:00
Christian Grothoff 74019e111c incs 2011-02-17 14:46:51 +00:00
Christian Grothoff eb1bd273c3 incs 2011-02-17 14:45:35 +00:00
Christian Grothoff 6abbeb5f40 mantis 1659 2011-02-11 09:16:23 +00:00
Christian Grothoff 43542a78c6 introducing MHD_create_response_from_buffer, deprecating MHD_create_response_from_data 2011-01-04 12:40:03 +00:00
Christian Grothoff 761267757c ready for 0.9.0 2010-07-26 16:57:47 +00:00
Christian Grothoff b90c37b2f3 incompatible API change to allow 64-bit uploads and downloads on 32-bit systems 2009-02-06 06:12:33 +00:00
Sebastian Gerhardt 88d10158d9 Upgraded & tested tutorial for version 0.4 prerelease0 2008-11-01 08:18:13 +00:00
Christian Grothoff 9181dd0a07 indenting 2008-08-24 18:03:05 +00:00
Sebastian Gerhardt 20be476293 improved adherence to GNU coding standards (responseheaders-example) 2008-08-14 18:07:41 +00:00
Christian Grothoff c5969a735a tutorial 2008-08-12 19:49:42 +00:00