Commit Graph
1044 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) eaaa642a8b MHD_request_get_info_*(): partially implemented 2024-12-18 15:20:43 +01:00
Evgeny Grin (Karlson2k) 0150f653bd microhttpd2.h: added static inline helpers for Basic Auth 2024-12-16 16:53:15 +01:00
Evgeny Grin (Karlson2k) b6c84a003e Public headers: minor re-structure to improve readability 2024-12-16 14:46:05 +01:00
Evgeny Grin (Karlson2k) 49455ddd3c microhttpd2_portability: added MHD_STATIC_INLINE_ macro 2024-12-16 14:46:05 +01:00
Evgeny Grin (Karlson2k) c51b00d2f0 microhttpd2_portability: improved VLA support 2024-12-16 14:46:04 +01:00
Evgeny Grin (Karlson2k) 98c8adf03e Basic Auth: the first part 2024-12-08 20:34:46 +03:00
Evgeny Grin (Karlson2k) 38eefbf377 MHD_response_add_header(): tolerate NULL as response pointer
Added to simplify application code for handling failed creating of
the response
2024-12-08 20:16:05 +03:00
Evgeny Grin (Karlson2k) 7815866281 OpenSSL backend: block use if sockets are edge-triggered 2024-12-04 21:50:07 +03:00
Evgeny Grin (Karlson2k) b26be94f72 Fixed broken length for memcopy()
Syntax highlighting would be helpful to avoid such bugs.
2024-11-29 18:20:49 +03:00
Evgeny Grin (Karlson2k) 3ba6df02bb The missing part for TLS backend availability implementation 2024-11-29 16:38:39 +03:00
Evgeny Grin (Karlson2k) 455c083b56 Implemented OpenSSL TLS backend support
Multi-TLS is not implemented yet, so MHD works only when configured
--without-gnutls or --without-openssl.
Only single TLS backend is supported for now.
2024-11-28 15:26:24 +03:00
Evgeny Grin (Karlson2k) 1e2f00d3ee Corrected description for the daemon option 2024-11-28 14:20:12 +03:00
Evgeny Grin (Karlson2k) 7aa923019d Implemented fallback file reader for the responses 2024-11-25 20:58:26 +03:00
Evgeny Grin (Karlson2k) 5ef5d62983 Revert "option must be const, otherwise breaks client APIs that legitimately expect const"
The API is temporal as it forces the same data format for the public API
and for internal data structures.
Internal data must NOT be const as it is allocated and then freed.
Leave MHD internals correct (as it does not need to be fixed) and
the temporal API incorrect as it will be fixed anyway.
The similar issues must be fixed with other daemon configuration
options.
2024-11-25 07:40:52 +03:00
Christian Grothoff 467ca6b4b4 option must be const, otherwise breaks client APIs that legitimately expect const 2024-11-24 22:27:39 +01:00
Christian Grothoff e86a133fa6 option must be const, otherwise breaks client APIs that legitimately expect const 2024-11-24 22:27:12 +01:00
Evgeny Grin (Karlson2k) cee65d14e2 GnuTLS communication: the last part 2024-11-24 20:54:11 +03:00
Evgeny Grin (Karlson2k) ca88e99ffd Implemented initialisation of connection's GnuTLS data 2024-11-24 20:54:09 +03:00
Evgeny Grin (Karlson2k) cd6fda427c Implemented initialisation of daemon's GnuTLS data 2024-11-19 10:52:16 +03:00
Evgeny Grin (Karlson2k) 501a102f6a microhttpd2.h: updated status codes 2024-10-30 11:43:57 +01:00
Evgeny Grin (Karlson2k) e9c0fc0bbb Renamed sockets kind macros 2024-10-07 14:25:10 +02:00
Evgeny Grin (Karlson2k) c2c7123825 Renamed public upgraded handle type 2024-09-30 03:49:10 +02:00
Evgeny Grin (Karlson2k) 45b97f10a7 microhttpd2.h: added attributes for callback for upgrading 2024-09-30 01:55:34 +02:00
Evgeny Grin (Karlson2k) be6292eb0c MHD_upgraded_send(): corrected public API doxy 2024-09-29 17:59:34 +02:00
Christian Grothoff b999efd6e2 -fix misc warnings 2024-09-29 16:20:14 +02:00
Christian Grothoff 7d67a02319 annotate as output 2024-09-29 15:52:30 +02:00
Evgeny Grin (Karlson2k) 75e2defda4 HTTP Upgrade: corrections 2024-09-28 18:48:46 +02:00
Evgeny Grin (Karlson2k) 709062dc1b HTTP Upgrade: implemented the first test version 2024-09-24 19:32:07 +02:00
Evgeny Grin (Karlson2k) c560983a1d HTTP upgrade: first stage 2024-09-24 19:32:04 +02:00
Evgeny Grin (Karlson2k) a32f2b28da Improved handling of "Expect:" request header
Added error reply for unsupported values.
2024-09-13 21:00:05 +02:00
Evgeny Grin (Karlson2k) 55c30b6424 Fixed name of one status code 2024-09-13 20:20:09 +02:00
Evgeny Grin (Karlson2k) 7ed36eb9cb Fixed important lost code, broken by options-generator commit 59b558d928
A fix that would take just a couple of minutes without options-generator.
2024-09-02 01:28:54 +02:00
Evgeny Grin (Karlson2k) fc363a7097 API: Fixed wrong function attributes 2024-08-31 12:13:18 +02:00
Christian Grothoff a6e982461c got demo rewrite to compile 2024-08-30 22:30:44 +02:00
Evgeny Grin (Karlson2k) 129176492b post_parser_funcs: implemented "multipart/mixed" parsing 2024-08-30 04:16:09 +02:00
Evgeny Grin (Karlson2k) 227073656e Fixed public API for empty response 2024-08-30 04:15:06 +02:00
Evgeny Grin (Karlson2k) 74c759e129 post_parser: implemented URL-decoding, minor API update 2024-08-27 11:28:01 +02:00
Evgeny Grin (Karlson2k) 0b7a79aa99 option-generator: more basic fixes
Many things are still broken
2024-08-24 17:32:37 +02:00
Evgeny Grin (Karlson2k) 082932e3f0 options-generator fixes, removed unused leftovers 2024-08-22 16:54:27 +02:00
Evgeny Grin (Karlson2k) 5c958a37e2 options-generator: minimal Makefile compatibility fixes 2024-08-22 11:40:11 +02:00
Evgeny Grin (Karlson2k) d5942a1dab POST parsing: finished text/plain 2024-08-21 13:21:27 +02:00
Evgeny Grin (Karlson2k) a99efd677e options-generator.c: basic portability fixes 2024-08-21 13:17:10 +02:00
Evgeny Grin (Karlson2k) 0f32d1d95c options-generator.c: fixed macro redefinition 2024-08-21 13:17:10 +02:00
Evgeny Grin (Karlson2k) a87faf2c47 options-generator.c: fixed missing include 2024-08-21 13:17:09 +02:00
Evgeny Grin (Karlson2k) c036146af5 WIP POST parser 2024-08-13 11:32:48 +02:00
Evgeny Grin (Karlson2k) e357060954 Minimal fix for response-generator builds
Out-of-tree builds still does not work.
Non-GNU makes still do not work.
Cross-compiling still does not work.
Parallel make still does not work.
2024-08-05 13:51:25 +02:00
Christian Grothoff cf4b82a7c8 improve generator logging 2024-08-05 10:29:11 +02:00
Christian Grothoff 4b40a1d89c clean up generator to only generate headers to src/include/ to make sure those are properly fresh, do not put them in Git 2024-08-04 19:29:51 +02:00
Evgeny Grin (Karlson2k) 7ebde843ce Updated POST-related API 2024-08-04 15:53:41 +02:00
Evgeny Grin (Karlson2k) de4e13c7ae Updated API and internal names for clarity 2024-08-01 16:06:42 +02:00