Commit Graph
360 Commits
Author SHA1 Message Date
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
Evgeny Grin (Karlson2k) 5368cd9c35 Doxygen: changed description of make targets 2022-01-06 19:05:42 +03:00
Evgeny Grin (Karlson2k) 88b7523e13 Fixed compiler warning in examples 2022-01-06 19:05:41 +03:00
Evgeny Grin (Karlson2k) cbd62cc2d3 Autotools refactoring: better follow GNU coding standards
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.
2022-01-06 19:05:41 +03:00
Evgeny Grin (Karlson2k) 1413f6ed53 doc/Makefile: fixed *-local rules 2022-01-05 17:15:09 +03:00
Evgeny Grin (Karlson2k) a95b0941c5 doc/Makefile: reordered targets and dependencies 2022-01-05 17:15:09 +03:00
Evgeny Grin (Karlson2k) 5e90bb9288 doc/Makefile: added phony target to force update timestamp 2022-01-05 17:15:08 +03:00
Evgeny Grin (Karlson2k) 87ab1ec7f7 test and examples: check socket control functions results 2021-11-21 15:43:19 +03:00
Evgeny Grin (Karlson2k) f44e4bf896 websockets: fixed code style 2021-10-31 16:34:49 +03:00
David Gausmann ddad59c1e3 websocket update
- 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.
2021-10-31 16:02:31 +03:00
Evgeny Grin (Karlson2k) 0497e9c801 tlsauthentication.c: better fix for compiler warning 2021-08-25 20:22:57 +03:00
Evgeny Grin (Karlson2k) 40501c2f5d tlsauthentication.c: inelegant mute of compiler warning 2021-08-25 19:55:06 +03:00
Christian Grothoff d929a44741 -typo 2021-08-04 19:07:27 +02:00
Christian Grothoff f1f8851cd2 introduce new MHD_CONNECTION_INFO_HTTP_STATUS 2021-08-04 18:58:55 +02:00
Christian Grothoff 55e6a9e275 fix typo 2021-03-09 23:36:39 +01:00
Christian Grothoff f9aa18c17e fix example 2021-03-04 13:32:39 +01:00
Christian Grothoff b5c7519d9a improve example on client cert validation, as suggested by Folkert van Heusden 2021-03-02 15:40:49 +01:00
Christian Grothoff b55c4031d4 -misc style fixes, no semantic changes 2021-02-26 21:23:11 +01:00
Evgeny Grin (Karlson2k) d50159bf99 Implemented new function MHD_create_response_from_iovec()
Implemented the new function, related framework, and tests for iovec-based
responses.
The implementation is based on the patch provided by Lawrence Sebald and
Damon N. Earp from NASA.
2021-02-24 19:46:31 +03:00
Christian Grothoff e066938628 expand tutorial on connection phases, thanks to Igor for pointing out that the text was incomplete 2021-02-02 18:40:10 +01:00
Christian Grothoff 0394bc7213 document cross-compile to Android, fixes #4913 2021-01-30 12:59:04 +01:00
Evgeny Grin (Karlson2k) 72e1143ce7 Fixed build with --disable-bauth 2020-12-27 18:09:43 +03:00
Evgeny Grin (Karlson2k) f53db2892e Muted compiler warnings 2020-12-27 17:35:49 +03:00
Christian Grothoff c575f67285 Merge branch 'master' of git+ssh://gnunet.org/libmicrohttpd 2020-07-26 14:15:55 +02:00
Christian Grothoff 1c4f23db74 add ability to serve files from pipe 2020-07-26 14:15:50 +02:00
silvioprog 6c53cad4ec Fixed examples using 'enum MHD_Result'. 2020-07-25 00:07:43 -03:00
Christian Grothoff babda9e9c7 fix misc typos 2020-07-23 00:05:52 +02:00
Christian Grothoff 0c85bd35d4 fix typos 2020-07-23 00:02:57 +02:00
Christian Grothoff 2abe788d8a fix manual entry for MHD_lookup_connection_value 2020-06-10 21:58:53 +02:00
silvioprog f84bdf0a8c Sanitized all log and error messages. 2020-05-09 14:11:14 -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
Christian Grothoff 6347f514aa introduce 'enum MHD_Result' 2020-04-08 22:59:05 +02:00
silvioprog bcffdf809f Applied several spelling fixes. (#6142) 2020-03-31 15:08:34 -03:00
ng0 e0a0762845 .3: Files markup. 2019-10-28 00:13:53 +00:00
ng0 05e64565fb libmicrohttpd.3: Use mdocml, adjust to some standards, fix some markup. 2019-10-28 00:06:09 +00:00
Christian Grothoff 185f740e06 allow clients to override sanity check for content-length header 2019-10-25 14:43:36 +02:00
Christian Grothoff d44a18700c fix #5868 2019-09-04 13:31:45 +02:00
ng0 0359c0bbdd Document MHD_UPGRADE_ACTION_CORK_ON and HD_UPGRADE_ACTION_CORK_OFF. 2019-08-02 09:37:51 +00:00
Christian Grothoff 1aaff72582 is this year 2019-07-29 18:13:18 +02:00
Christian Grothoff 092b370587 undo, duplicated functionality 2019-07-22 16:11:10 +02:00
Christian Grothoff 9c7dc624ac unify 2019-07-22 12:37:45 +02:00
Christian Grothoff 3d1b941137 introducte MHD_RO_FREE_FUNCTION as proposed by Nicolas Mora on the list 2019-07-22 11:49:42 +02:00
Tim Rühsen 3751044dc8 Add callback to allow OCSP stapling 2019-07-17 12:50:15 +02:00
Christian Grothoff 31db4990fc fix #5773 2019-06-30 16:50:17 +02:00
Evgeny Grin (Karlson2k) 8aa7d23219 Partial revert of 1b610e5b13.
Implemented new functions for key and value with binary zero.
Significantly speedup search for key by using key size.
2019-05-01 22:12:24 +03:00
Christian Grothoff 1917b86699 add flags for TLS option control 2019-04-15 17:38:16 +02:00
Christian Grothoff 1b610e5b13 allow binary zero in unescaped GET arguments (see mailinglist) 2019-03-20 10:46:21 +01:00
Christian Grothoff 2897bd23e5 add test for RFC 7616 and document new API 2018-12-08 22:54:33 +01:00