Commit Graph
283 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) acc4cc29ed Cosmetics: fixed formatting for 'examples' 2021-09-17 11:54:58 +03:00
Evgeny Grin (Karlson2k) bf1993237a Use type specifiers for printf() from inttypes.h
This should improve compatibility with various C libs.
2021-09-17 11:53:55 +03:00
Evgeny Grin (Karlson2k) 09c4a22975 websocket_threaded_example: fix static analyzer error 2021-08-25 20:50:07 +03:00
Evgeny Grin (Karlson2k) 46c0d3f470 querystring_example: free memory with new error check 2021-08-25 20:33:51 +03:00
Evgeny Grin (Karlson2k) 5feee053a2 querystring_example: fixed compiler warning, added error checking 2021-08-25 19:40:43 +03:00
Evgeny Grin (Karlson2k) 533d5cecd4 chunked_example: fixed resource leak 2021-06-03 21:30:11 +03:00
Evgeny Grin (Karlson2k) 81bbdc7048 chunked_example: enforce to use chunked encoding
Previously MHD switches to identity encoding if connection
is not Keep-Alive
2021-05-06 11:26:34 +03:00
Christian Grothoff 5a5e402b11 fix typos 2021-04-27 23:31:58 +02:00
Christian Grothoff 450b868804 add David's WS example 2021-04-26 14:33:55 +02:00
Evgeny Grin (Karlson2k) 7d5e06ed5f Updated test certificates
Updated TLS test certificates with modern algorithms and correct
alternative names, which is closer to real live scenarios.
Examples programs work with browsers again.
2021-04-11 12:38:48 +03:00
Evgeny Grin (Karlson2k) 81beb04105 websocket_threaded_example: muted compiler warning 2021-04-01 21:33:47 +03:00
Evgeny Grin (Karlson2k) 2da6d2d800 Fixed analyzer warning 2020-12-27 20:10:32 +03:00
Evgeny Grin (Karlson2k) f53db2892e Muted compiler warnings 2020-12-27 17:35:49 +03:00
Evgeny Grin (Karlson2k) 1d5efc0349 Examples: fixed logic error 2020-12-25 20:17:59 +03:00
Evgeny Grin (Karlson2k) fb283746eb examples: fixed portability and compiler warnings 2020-12-24 15:35:25 +03:00
Evgeny Grin (Karlson2k) 5c659994bf examples: fixed wrong array initialisation 2020-12-24 15:27:55 +03:00
Evgeny Grin (Karlson2k) a3b6d06f32 Fix for ee18f2421a 2020-10-29 19:26:23 +03:00
Evgeny Grin (Karlson2k) ee18f2421a Fixed 2f4438ab7a 2020-10-29 18:59:25 +03:00
Evgeny Grin (Karlson2k) 2f4438ab7a websocket_threaded_example.c: minor improvement and warning fixes 2020-10-29 18:41:12 +03:00
Evgeny Grin (Karlson2k) 8cb26daea6 Fixed conflict with system CPU_COUNT macro 2020-10-25 22:52:53 +03:00
Evgeny Grin (Karlson2k) cdb146b884 cosmetic fixes 2020-10-08 16:32:09 +03:00
Christian Grothoff beb7fa828c fix transmission stall issue with upgraded TLS connections reported by Nguyen Xuan Viet on the mailinglist 2020-09-27 22:12:13 +02:00
silvioprog f84bdf0a8c Sanitized all log and error messages. 2020-05-09 14:11:14 -03:00
Christian Grothoff ddc770d8f6 fix example 2020-04-29 16:52:27 +02:00
Christian Grothoff 912181afd3 fix more warnings 2020-04-11 11:28:36 +02:00
silvioprog f4be5e0154 Avoid item duplication inside client list in the websocket example. 2020-04-10 14:05:57 -03:00
silvioprog 08134cf85a Fixed websocket example. 2020-04-10 13:50:12 -03:00
silvioprog 275d6fed80 Fixed compiler warnings. 2020-04-09 23:54:28 -03:00
silvioprog 61227ed72d Fixed warnings related to websocket example. 2020-04-08 20:23:01 -03:00
Christian Grothoff aad7796a51 define and use 'enum MHD_Result' (merge) 2020-04-08 23:42:52 +02: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 da0585902c Improved base64-encoder function of the websocket example. 2020-04-08 14:10:43 -03:00
silvioprog 2de4ad4caf Improved websocket example allowing the client to connect to the remote host. 2020-04-08 13:51:09 -03:00
silvioprog 68200a8426 Added example for how to provide a tiny threaded websocket server. (#5501) 2020-04-07 15:00:56 -03:00
silvioprog bcffdf809f Applied several spelling fixes. (#6142) 2020-03-31 15:08:34 -03:00
Christian Grothoff 844d571442 remove useless 'if', fix HTML output 2020-03-01 18:58:56 +01:00
Christian Grothoff 7389c34528 tighten formatting rules 2019-10-31 13:06:08 +01:00
Christian Grothoff 5e5dbf980d add tests for empty reply in HTTPS 2019-10-26 18:52:53 +02:00
Christian Grothoff 82e6ba21d2 add minimal example for empty body 2019-10-24 12:46:27 +02:00
Christian Grothoff 972103dc28 applying uncrustify to ensure uniform indentation 2019-10-17 16:56:41 +02:00
Christian Grothoff e31795501c indentation fixes 2019-10-06 22:18:01 +02:00
Christian Grothoff 5d7265871c reindenting 2019-08-25 21:13:27 +02:00
Christian Grothoff 91530f21e9 fix compiler warnings 2019-08-25 11:22:52 +02:00
Christian Grothoff c530ee3be4 update .gitignore files 2019-06-08 17:10:25 +02:00
Christian Grothoff 603ecd85bc prefix even potentially exported hash symbols with MHD_ (as proposed by Dirk Brinkmeier) 2019-06-03 23:46:28 +02:00
Evgeny Grin (Karlson2k) c4d1c422f3 http_chunked_compression: fixed for non-64bit systems 2019-05-18 13:44:45 +03:00
Evgeny Grin (Karlson2k) 84905a4df0 http_chunked_compression example: clarify and improve readability 2019-05-18 13:44:45 +03:00
Evgeny Grin (Karlson2k) f5b8735538 http_compression example: fix compiler warning 2019-05-18 13:44:44 +03:00
Evgeny Grin (Karlson2k) 2a0871b731 Fixed build from source on GNU Hurd 2019-05-15 14:57:50 +03:00