Christian Grothoff
7d8c068e5e
add tutorials for #4944 and #5085
2026-07-28 19:46:21 +02:00
Evgeny Grin (Karlson2k)
086fcdacbb
Fixes for 32-bit platforms
2024-01-31 10:33:03 +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)
89c1076aac
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.
2023-11-07 20:49:10 +03:00
Evgeny Grin (Karlson2k)
e52c9e2468
examples/sessions.c: fixed compiler warnings
2023-09-15 09:30:43 +03:00
Evgeny Grin (Karlson2k)
17b59778ea
examples/sessions.c: fixed wrong check for error
2023-09-15 09:29:20 +03:00
Evgeny Grin (Karlson2k)
feb9ac1f4c
examples/sessions.c: removed non-portable function and improved safety
2023-06-01 10:58:16 +03:00
Evgeny Grin (Karlson2k)
bd9b7be732
doc/examples: fixed compiler warnings
2022-06-02 09:43:12 +03:00
Evgeny Grin (Karlson2k)
93dcf8ea91
src/examples: muted compiler warnings
2022-06-01 22:12:37 +03:00
Evgeny Grin (Karlson2k)
a13647d1d0
Replaced MHD_RESPMEM_MUST_FREE with more portable solution in examples
2022-05-14 14:37:02 +03:00
Evgeny Grin (Karlson2k)
ba77b04c65
Replaced calls of MHD_get_timeout() in tests and examples
...
The calls were replaced with the calls of the new functions.
Completely removed the usage of MHD_UNSIGNED_LONG_LONG.
2022-04-28 19:06:46 +03:00
Evgeny Grin (Karlson2k)
5c1e130e09
doc/examples: avoid usage of unportable functions
2022-04-23 17:11:20 +03:00
Evgeny Grin (Karlson2k)
28f02d2eaa
doc/examples: do not use non-literals for printf()
2022-04-23 16:16:22 +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
Evgeny Grin (Karlson2k)
88b7523e13
Fixed compiler warning in examples
2022-01-06 19:05:41 +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)
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)
90341c2782
examples/sessions.c: small fix
2015-12-04 11:12:09 +00:00
Christian Grothoff
4f9c53c222
-fix compiler warnings
2015-06-12 07:45:50 +00:00
LRN
d7a2fdc595
Don't redefine asprintf for MinGW-w64
2013-08-11 10:30:52 +00:00
Christian Grothoff
2c646f956f
-nicer error handling in example
2013-06-25 13:00:17 +00:00
Christian Grothoff
1725bcf3c5
-improvements to docs
2013-05-05 18:01:09 +00:00
LRN
aeaea9eda2
W32 compatibility, also use ISO C instead of POSIX
2013-04-23 11:38:09 +00:00
Christian Grothoff
d1d5bf7cb9
-introduce MHD_UNSIGNED_LONG_LONG, deprecate MHD_LONG_LONG, check for invalid options on start, document
2012-09-28 11:39:38 +00:00
Christian Grothoff
bf92eff1f8
close file, clarify license
2012-08-23 12:36:18 +00:00
Christian Grothoff
9006e7df90
ex
2011-03-03 18:22:06 +00:00