408 Commits
Author SHA1 Message Date
Christian Grothoff 8dbbdd77fe add tutorial for #5657 2026-07-28 22:47:32 +02:00
Christian Grothoff 7d8c068e5e add tutorials for #4944 and #5085 2026-07-28 19:46:21 +02:00
Christian Grothoff 8a163c3f73 fix example FTBFS 2025-09-16 11:05:23 +02:00
Christian Grothoff f4e2c13c68 fix example FTBFS 2025-09-16 11:04:48 +02:00
Christian Grothoff 1fd9b3779f fix #10333 2025-09-07 01:09:18 +02:00
Christian Grothoff e9aa6dcdc1 fix rvalues (#9667) 2025-08-16 15:48:06 +02:00
Evgeny Grin (Karlson2k) e45936da81 man page: updated bug tracker link 2024-07-31 12:45:57 +02:00
Evgeny Grin (Karlson2k) 087b12516b Fixed man page as suggested by Florian Ernst 2024-07-31 12:43:46 +02:00
Evgeny Grin (Karlson2k) b6ca2e66c5 Excluded example with basic auth when basic auth is disabled 2024-02-20 21:08:59 +05:00
Evgeny Grin (Karlson2k) 086fcdacbb Fixes for 32-bit platforms 2024-01-31 10:33:03 +01: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) bcfdf016a4 Docs correction as suggested by Aymeric Agon-Rambosson in ML 2024-01-05 13:58:26 +03: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) ce38b0fa79 Renamed one new basic auth function, improved doxy 2023-10-06 14:12:31 +03:00
Christian Grothoff 0ae494028b check rvalues from MHD_post_process in examples 2023-09-25 21:38:23 +02: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
Christian Grothoff 438c3ee2d6 fix #7928: correct tutorial direntry 2023-09-03 00:29:41 +02: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) 3806c7ba24 examples/largepost.c: fixed caseless method match 2023-06-01 09:43:35 +03:00
Christian Grothoff 4627d005d2 add assertion to guard against bad behavior described in #7196, also document that after suspending one must return MHD_YES 2023-02-08 14:28:49 +01:00
Evgeny Grin (Karlson2k) 1ffe7932df Tests and examples: added rule to (re-)build libmicrohttpd.la 2022-11-06 15:01:19 +03:00
Evgeny Grin (Karlson2k) 9440f9aefe configure: do not pass AM_TESTS_ENVIRONMENT directly 2022-10-30 13:20:19 +03:00
Evgeny Grin (Karlson2k) 4adc14c948 Some readability improvements 2022-09-28 11:46:59 +03:00
Christian Grothoff d629ada1a2 -fix typos 2022-06-26 15:24:24 +02:00
Evgeny Grin (Karlson2k) 1c181be2ff Removed extra "Upgrade" token in Connection reply header in tests and examples
MHD automatically adds "Upgrade" header, no need to add it for the
second time.
2022-06-15 15:34:34 +03:00
Evgeny Grin (Karlson2k) 5524197da9 libmicrohttpd.texi: updated list of used external data types 2022-06-13 12:23:36 +03:00
Evgeny Grin (Karlson2k) 5249d3339c Updated documentation for the new Basic Authorization API 2022-06-13 12:23:01 +03:00
Evgeny Grin (Karlson2k) c2414ffc9a Updated examples to use new API for Basic Authorization 2022-06-13 12:15:50 +03:00
Evgeny Grin (Karlson2k) bd9b7be732 doc/examples: fixed compiler warnings 2022-06-02 09:43:12 +03:00
Evgeny Grin (Karlson2k) 8da7be3b7b examples: marked non-global variables as 'static' 2022-06-02 09:07:48 +03:00
Evgeny Grin (Karlson2k) 93dcf8ea91 src/examples: muted compiler warnings 2022-06-01 22:12:37 +03:00
Evgeny Grin (Karlson2k) 85ae657849 Replaced MHD_RESPMEM_PERSISTENT usage in examples and code
New functions do not produce compiler warnings.
2022-05-14 15:07:47 +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) f50b6be7a6 libmicrohttpd.texi: fixed formatting in 15ea1533a8 2022-05-13 17:25:27 +03:00
Evgeny Grin (Karlson2k) 15ea1533a8 Updated .texi with the new digest auth functions 2022-05-13 17:23:22 +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) ec2d818cc4 doc/examples: improved formatting 2022-04-23 16:16:58 +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) 1a7e4a5a5b Updated docs, test, and example to use correct digest auth API 2022-01-27 19:13:37 +03:00
Evgeny Grin (Karlson2k) 6ed5b52d3e Fixed early response with digest auth in tests, examples, and documentation 2022-01-18 15:56:09 +03:00
Evgeny Grin (Karlson2k) 84a92e8a71 Added more workarounds for uncrustify bugs 2022-01-18 15:22:35 +03:00
Evgeny Grin (Karlson2k) ba2d078858 largepost: fixed code style 2022-01-18 15:19:13 +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) a8b2cce869 doc/examples/Makefile: fixed missing file 2022-01-09 20:04:06 +03:00
Evgeny Grin (Karlson2k) bf89bd95f8 doc: fixed missing 'websocket.inc' in dist files 2022-01-09 19:50:37 +03:00