Commit Graph
1058 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) aa428d5732 Digest Auth: the final part 2025-01-06 07:11:51 +01:00
Evgeny Grin (Karlson2k) 92f24c17a3 Basic Auth API: renamed struct and union members 2024-12-31 12:20:31 +01:00
Christian Grothoff 92b5e6e0a1 -fix test 2024-12-29 11:57:52 +01:00
Christian Grothoff 5978da8ebc modify test for digest auth -- basics 2024-12-27 22:39:50 +01:00
Evgeny Grin (Karlson2k) 3a93e0e53c microhttpd2.h: some clarifications about Basic Auth data 2024-12-25 22:19:39 +01:00
Evgeny Grin (Karlson2k) 6a1a29c795 Digest Auth: part one 2024-12-22 19:09:53 +01:00
Evgeny Grin (Karlson2k) de082e34b2 Public enum values: use unsigned numbers, where possible 2024-12-22 18:50:57 +01:00
Evgeny Grin (Karlson2k) 71309bbe1c Renamed MHD_response_add_basic_auth_challenge() -> MHD_response_add_auth_basic_challenge() 2024-12-21 12:27:27 +01:00
Evgeny Grin (Karlson2k) 99b2232f7f Fixed missing enum value rename 2024-12-20 13:38:44 +01:00
Evgeny Grin (Karlson2k) 1e424c985c Basic Auth: the final part 2024-12-19 20:32:41 +01:00
Evgeny Grin (Karlson2k) b03b935d10 Renamed some MHD_SC_xx codes 2024-12-18 19:16:26 +01:00
Evgeny Grin (Karlson2k) 5a7897abc8 microhttpd2.h: doxy corrections 2024-12-18 15:20:44 +01:00
Evgeny Grin (Karlson2k) 7c5e27070a MHD_request_get_value(): use case-insensitive match 2024-12-18 15:20:44 +01:00
Evgeny Grin (Karlson2k) a6b69c4ea4 MHD_String: corrected doxy comments 2024-12-18 15:20:43 +01:00
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