Commit Graph
1080 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) b4b772fcce MHD_*_get_info_*(): used function and parameters attributes 2025-01-20 14:39:34 +01:00
Evgeny Grin (Karlson2k) ede2c4e325 MHD_*_get_info_*(): corrected the order in the lists of error codes 2025-01-20 14:02:38 +01:00
Evgeny Grin (Karlson2k) 86a43b1a12 Implemented MHD_connection_get_info_dynamic_sz() 2025-01-20 12:27:44 +01:00
Evgeny Grin (Karlson2k) 34ff8f11ae Public API: added new data type for TLS sessions 2025-01-20 12:27:42 +01:00
Evgeny Grin (Karlson2k) 89c9bc7d47 Implemented MHD_connection_get_info_fixed_sz() 2025-01-20 12:27:41 +01:00
Evgeny Grin (Karlson2k) 13b4ea85ea MHD_daemon_get_info_fixed(): added information about used TLS backend 2025-01-17 15:34:01 +01:00
Evgeny Grin (Karlson2k) c0b6163b48 microhttpd2.h: minor doxy corrections 2025-01-17 15:28:57 +01:00
Evgeny Grin (Karlson2k) fb9fa457db enum MHD_DaemonInfoFixedType: sorted, assigned numeric values 2025-01-17 13:22:38 +01:00
Evgeny Grin (Karlson2k) d1481395ba MHD_daemon_get_info_{fixed,dynamic}(): return "too early" and "too late" error codes 2025-01-17 13:07:50 +01:00
Evgeny Grin (Karlson2k) de741e6926 MHD_daemon_get_info_dynamic_sz(): implemented 2025-01-15 19:11:13 +01:00
Evgeny Grin (Karlson2k) d26be96ede MHD_daemon_get_info_fixed_sz(): updated doxy and Status Code names 2025-01-15 14:05:11 +01:00
Evgeny Grin (Karlson2k) 9034cbaac1 microhttpd2.h: improved doxy for one Status Code 2025-01-15 13:45:20 +01:00
Evgeny Grin (Karlson2k) c09b274cb7 Fixed typo in Response option parameters 2025-01-15 13:21:19 +01:00
Evgeny Grin (Karlson2k) d5a563433d Renamed some public API values and parameters for clarity 2025-01-15 13:17:18 +01:00
Evgeny Grin (Karlson2k) 4861b9fbf3 MHD_lib_get_info_dynamic_sz(): improved doxy 2025-01-14 14:30:38 +01:00
Evgeny Grin (Karlson2k) a26fc23289 MHD_lib_get_info_ver_num(): new static inline helper 2025-01-14 13:13:07 +01:00
Evgeny Grin (Karlson2k) b76f0e8cca MHD_STATIC_INLINE{,_END}_: added doxy 2025-01-14 13:13:07 +01:00
Evgeny Grin (Karlson2k) 8edb768e3a MHD_lib_get_info_fixed_sz(): fixed doxy and attributes 2025-01-14 13:07:47 +01:00
Evgeny Grin (Karlson2k) 7fcf4eb495 Implemented MHD_lib_get_info_{fixed,dynamic}() 2025-01-13 14:24:45 +01:00
Evgeny Grin (Karlson2k) 0dc92ad386 log_callback daemon option: corrected comment for clarity 2025-01-13 14:24:44 +01:00
Evgeny Grin (Karlson2k) c63c770be8 Added run-time option to disable cookies parsing 2025-01-13 14:24:43 +01:00
Evgeny Grin (Karlson2k) 91b86adfc5 action: log message when Digest Auth is used, but not enabled 2025-01-06 08:41:07 +01:00
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