Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Remove double adding of MHD_HTTP_HEADER_CONNECTION response header | Alexander Irion | 2022-06-15 |
| | | | | | | | | | | MHD_create_response_for_upgrade() already adds the MHD_HTTP_HEADER_CONNECTION response header, so the additional MHD_add_response_header is wrong. In our application it caused, that on a Apple iPad, the websocket was immediately closed by the browser(Safari, Chrome, Opera) after the protocol upgrade. Browsers on Linux, Android did not had this issue. Signed-off-by: Alexander Irion <alexander_irion@mentor.com> | ||
* | websocket_threaded_example: minor fixes | Evgeny Grin (Karlson2k) | 2022-06-14 |
| | |||
* | Updated examples to use new API for Basic Authorization | Evgeny Grin (Karlson2k) | 2022-06-13 |
| | |||
* | websocket_threaded_example: fixed sprintf() usage, compiler warnings | Evgeny Grin (Karlson2k) | 2022-06-02 |
| | |||
* | examples: marked non-global variables as 'static' | Evgeny Grin (Karlson2k) | 2022-06-02 |
| | |||
* | http_chunked_compression: fixed errors | Evgeny Grin (Karlson2k) | 2022-06-01 |
| | |||
* | src/examples/demo{,_https}: added some error checking, fixed compiler warnings | Evgeny Grin (Karlson2k) | 2022-06-01 |
| | |||
* | src/examples/benchmark{,_https}: simplified time calculation | Evgeny Grin (Karlson2k) | 2022-06-01 |
| | |||
* | src/examples/*fileserver*.c: added error checking | Evgeny Grin (Karlson2k) | 2022-06-01 |
| | |||
* | src/examples: muted compiler warnings | Evgeny Grin (Karlson2k) | 2022-06-01 |
| | |||
* | Use '#ifdef PARAM' instead of '#if PARAM' for configuration options | Evgeny Grin (Karlson2k) | 2022-05-16 |
| | |||
* | Replaced MHD_RESPMEM_PERSISTENT usage in examples and code | Evgeny Grin (Karlson2k) | 2022-05-14 |
| | | | | New functions do not produce compiler warnings. | ||
* | Replaced MHD_RESPMEM_MUST_FREE with more portable solution in examples | Evgeny Grin (Karlson2k) | 2022-05-14 |
| | |||
* | Updated example to use new digest auth function | Evgeny Grin (Karlson2k) | 2022-05-13 |
| | |||
* | Replaced calls of MHD_get_timeout() in tests and examples | Evgeny Grin (Karlson2k) | 2022-04-28 |
| | | | | | The calls were replaced with the calls of the new functions. Completely removed the usage of MHD_UNSIGNED_LONG_LONG. | ||
* | src/examples: fixed printf format specifiers | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | |||
* | websocket_threaded_example: mark function as static | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | |||
* | Fixed old-style functions definitions | Evgeny Grin (Karlson2k) | 2022-04-23 |
| | |||
* | Updated test TLS certificate in test and examples | Evgeny Grin (Karlson2k) | 2022-04-21 |
| | | | | The new certificate should be a bit more similar to production certs. | ||
* | src/examples: Fixed drop of 'const' qualifiers and minor fixes. | Evgeny Grin (Karlson2k) | 2022-04-19 |
| | | | | * some minor fixes and improvements. | ||
* | Updated docs, test, and example to use correct digest auth API | Evgeny Grin (Karlson2k) | 2022-01-27 |
| | |||
* | Fixed early response with digest auth in tests, examples, and documentation | Evgeny Grin (Karlson2k) | 2022-01-18 |
| | |||
* | Renamed 'con_cls' -> 'req_cls' for access handler callback | Evgeny Grin (Karlson2k) | 2022-01-18 |
| | | | | | | | | 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. | ||
* | Autotools refactoring: better follow GNU coding standards | Evgeny Grin (Karlson2k) | 2022-01-06 |
| | | | | | | | | Never override CFLAGS, CPPFLAGS, and LDFLAGS in 'configure'. Let user override compile setting as make-time almost in the same way like at configure-time. Removed some redundant compile settings. | ||
* | Workarounds for uncrustify bugs | Evgeny Grin (Karlson2k) | 2021-12-09 |
| | |||
* | Revert formatting broken by uncrustify | Evgeny Grin (Karlson2k) | 2021-12-09 |
| | | | | | | This partially reverts commit dbe1d76d9c75a95a7ebe3042dfac7e6a7392bfb0. Looks like uncrustify has some bug resulting in C++ style comments | ||
* | -fix tests for libmagic (and uncrustify indentation) | Christian Grothoff | 2021-12-08 |
| | |||
* | Minor readability improvements | Evgeny Grin (Karlson2k) | 2021-12-01 |
| | |||
* | tests and examples: fixed copy-paste errors in doxy | Evgeny Grin (Karlson2k) | 2021-11-21 |
| | |||
* | test and examples: check socket control functions results | Evgeny Grin (Karlson2k) | 2021-11-21 |
| | |||
* | Examples: fixed blocking sockets on W32 | Evgeny Grin (Karlson2k) | 2021-11-21 |
| | | | | Sockets on W32 were non-blocking due to copy-paste errors. | ||
* | websockets: fixed code style | Evgeny Grin (Karlson2k) | 2021-10-31 |
| | |||
* | websocket update | David Gausmann | 2021-10-31 |
| | | | | | | | | | | | | | | | | - added API documentation to libmicrohttpd.texi - added websocket tutorial chapter to libmicrohttpd-tutorial and an much easier example for the tutorial - added additional helper functions to ease the HTTP websocket handshake - the code can now be compiled on Linux without errors - changed sha1.c and sha1.h to the files provided by Evgeny (I replaced those files in src/microhttpd_ws/ with the files from src/microhttpd/ - maybe there is a smarter way...?) - removed dependency for "htons" and "htonl" (these functions are now implemented in MHD_websocket.c; no need for OS-dependent files anymore) - added an additional test script for testing of the library with any webbrowser (for manual practice test) - several bugfixes - parameters renamed - special things clarified (fragmentation, RNG for client mode) The new version of the API is at some points incompatible with the old version, but since it was in an experimental phase and it didn't compile on Linux, I guess this shouldn't bother anyone. From my point of view, I am now finished with the library and it could go out of experimental. | ||
* | websocket_threaded_example: fixed compiler warning on x32 platforms | Evgeny Grin (Karlson2k) | 2021-10-24 |
| | |||
* | Muted sanitizer errors on W32 platform. | Evgeny Grin (Karlson2k) | 2021-10-06 |
| | | | | Actually MinGW headers need to be fixed. | ||
* | Cosmetics: fixed formatting for 'examples' | Evgeny Grin (Karlson2k) | 2021-09-17 |
| | |||
* | Use type specifiers for printf() from inttypes.h | Evgeny Grin (Karlson2k) | 2021-09-17 |
| | | | | This should improve compatibility with various C libs. | ||
* | websocket_threaded_example: fix static analyzer error | Evgeny Grin (Karlson2k) | 2021-08-25 |
| | |||
* | querystring_example: free memory with new error check | Evgeny Grin (Karlson2k) | 2021-08-25 |
| | |||
* | querystring_example: fixed compiler warning, added error checking | Evgeny Grin (Karlson2k) | 2021-08-25 |
| | |||
* | chunked_example: fixed resource leak | Evgeny Grin (Karlson2k) | 2021-06-03 |
| | |||
* | chunked_example: enforce to use chunked encoding | Evgeny Grin (Karlson2k) | 2021-05-06 |
| | | | | | Previously MHD switches to identity encoding if connection is not Keep-Alive | ||
* | fix typos | Christian Grothoff | 2021-04-27 |
| | |||
* | add David's WS example | Christian Grothoff | 2021-04-26 |
| | |||
* | Updated test certificates | Evgeny Grin (Karlson2k) | 2021-04-11 |
| | | | | | | Updated TLS test certificates with modern algorithms and correct alternative names, which is closer to real live scenarios. Examples programs work with browsers again. | ||
* | websocket_threaded_example: muted compiler warning | Evgeny Grin (Karlson2k) | 2021-04-01 |
| | |||
* | Fixed analyzer warning | Evgeny Grin (Karlson2k) | 2020-12-27 |
| | |||
* | Muted compiler warnings | Evgeny Grin (Karlson2k) | 2020-12-27 |
| | |||
* | Examples: fixed logic error | Evgeny Grin (Karlson2k) | 2020-12-25 |
| | |||
* | examples: fixed portability and compiler warnings | Evgeny Grin (Karlson2k) | 2020-12-24 |
| |