Evgeny Grin (Karlson2k)
c1b6751c11
Added checks for correct values specified for connection memory limits
2023-06-20 23:22:56 +03:00
Evgeny Grin (Karlson2k)
b483c0f6d3
microhttpd.h: fixed typos in comments
2023-06-20 22:59:06 +03:00
Evgeny Grin (Karlson2k)
ddfa808bb4
Bump version numbers as v0.9.77 was released on parallel branch
2023-06-06 22:56:36 +03:00
Evgeny Grin (Karlson2k)
4d5f24f7df
autoinit_funcs.h: fixed warning on MSVC
2023-06-01 13:28:26 +03:00
Evgeny Grin (Karlson2k)
612d20b28d
Added internal preprocessor macro for magic macro presence
2023-06-01 11:28:22 +03:00
Evgeny Grin (Karlson2k)
4973c6cff0
Simplified usage of the function name magic macros
2023-06-01 11:09:16 +03:00
Evgeny Grin (Karlson2k)
06001f4ee1
autoinit_funcs.h: fixed compiler warning
2023-06-01 09:15:35 +03:00
Evgeny Grin (Karlson2k)
df2c6113ed
autoinit_funcs.h: added more macros checks for platform identification
2023-05-02 11:45:40 +03:00
Evgeny Grin (Karlson2k)
f924cbde38
autoinit_funcs.h: unified English spelling (prefer GB over US)
2023-04-27 20:27:02 +03:00
Evgeny Grin (Karlson2k)
b92f7d9700
autoinit_funcs.h: updated to use (semi-)official documented sections
2023-04-27 20:24:09 +03:00
Evgeny Grin (Karlson2k)
81ef7ab0c1
autoinit_funcs.h: added support for non-x86 arches for MSVC
2023-04-26 17:05:16 +03:00
Evgeny Grin (Karlson2k)
06ff71656b
autoinit_funcs.h: fixed harmless typos
2023-04-26 11:21:43 +03:00
Evgeny Grin (Karlson2k)
27ecf2e102
microhttpd.h: fixed typo in doxy
2023-03-30 18:08:51 +02:00
Evgeny Grin (Karlson2k)
ec981dfe4e
Bumped version as it should be later then the hotfix release
2023-03-29 21:13:32 +02:00
Evgeny Grin (Karlson2k)
5c3a61d68c
Added new daemon option MHD_OPTION_CLIENT_DISCIPLINE_LV
...
Reject URIs with spaces as per RFC.
Fixed check for space before colon in headers (previously it was checked
only when MHD was NOT strict).
Reject HTTP/1.1 requests without host by default (as per RFC).
2022-12-22 18:25:49 +03:00
Evgeny Grin (Karlson2k)
2a71dbd38f
MHD_get_version_bin(): added new function
2022-12-19 18:13:44 +03:00
Evgeny Grin (Karlson2k)
3444792f14
Refactored user-poison: minimized scope of non-sanitized code
2022-11-26 20:02:17 +03:00
Evgeny Grin (Karlson2k)
8d6d9be08d
Fixed macro name spelling
2022-11-06 15:01:18 +03:00
Evgeny Grin (Karlson2k)
9f4a08a8d5
microhttpd.h: doxy improvements
2022-10-28 12:13:08 +03:00
Evgeny Grin (Karlson2k)
30beb61e11
Added ability to check for MHD debug builds at run-time
2022-10-14 11:25:29 +03:00
Evgeny Grin (Karlson2k)
0b9776811f
Added new MHD option to append TLS priorities string
...
The string is appended to default GnuTLS priorities. This way
application may control priorities details, while leaving the basic
settings to system's defaults.
2022-10-13 09:07:02 +03:00
Evgeny Grin (Karlson2k)
6e95c305e4
TLS: use application-specific system-wide configuration with fallbacks
...
Implemented more flexible GnuTLS priorities string initialisation. Now
MHD tries to use "@LIBMICROHTTPD" configuration at first, so all
MHD instances on particular system can be configured by specifying the
string like "LIBMICROHTTPD = ..." in GnuTLS system-wide configuration.
For example "LIBMICROHTTPD = NORMAL:-VERS-TLS1.0:-VERS-TLS1.1" could be
used to disable TLS v1.0 and TLS v1.1 for all MHD instances.
If application-specific configuration is not available, then default
"@SYSTEM" run-time configuration is used.
If "@SYSTEM" is not defined, then GnuTLS build-time default string
is used.
Standard "NORMAL" configuration is used if everything else fails.
2022-10-13 09:07:02 +03:00
Evgeny Grin (Karlson2k)
b6979795cd
microhttpd.h: minor doxy fix
2022-10-10 11:54:33 +03:00
Evgeny Grin (Karlson2k)
9f22ba9b0b
microhttpd.h: improved doxy for MHD_USE_THREAD_PER_CONNECTION
2022-10-10 11:54:30 +03:00
Evgeny Grin (Karlson2k)
4adc14c948
Some readability improvements
2022-09-28 11:46:59 +03:00
Evgeny Grin (Karlson2k)
172b0eeb45
Implemented support for hash calculation by GnuTLS lib functions
2022-09-25 18:40:50 +03:00
Evgeny Grin (Karlson2k)
403f3b8e6a
mhd_options: use standard _MHD_EXTERN if file used outside the library
2022-09-25 18:39:40 +03:00
Evgeny Grin (Karlson2k)
8318f56ebc
digestauth: added support for SHA-512/256, made MD5 and SHA-256 optional
...
Give more flexibility for custom builds: MD5, SHA-256 and SHA-512/256
may be disabled individually.
2022-09-11 18:42:18 +03:00
Evgeny Grin (Karlson2k)
6cf8c2f33f
Implemented SHA-512/256 hashing support
...
The full implementation, with support hashing of more than 2 EiB
(exbibytes), as described by specification.
Includes additional code path for more compact code.
2022-09-11 18:42:17 +03:00
Evgeny Grin (Karlson2k)
898550e1ae
microhttpd.h: fixed typo in doxy
2022-09-11 18:41:36 +03:00
Evgeny Grin (Karlson2k)
0531511f18
Editorial doxy improvements
2022-09-05 18:03:09 +03:00
Evgeny Grin (Karlson2k)
c3680cb737
Digest Auth API: do not store 'userhash' in 'username' members
...
While the 'username' is used to carry 'userhash' in headers, it is
confusing as 'userhash' type of the data is different from type of
the 'username'. To make a clear distinction, use dedicated members
to store 'userhash'.
2022-09-05 14:53:05 +03:00
Evgeny Grin (Karlson2k)
62175acf7c
Added MHD_FEATURE_DIGEST_AUTH_SHA512_256 value
2022-09-04 12:25:18 +03:00
Evgeny Grin (Karlson2k)
e3e01bd7c3
microhttpd.h: fixed typos in comments
2022-09-04 12:25:18 +03:00
Evgeny Grin (Karlson2k)
0ccef4c16c
Added new public functions for userhash and userdigest calculations
...
These functions can be used when the new user is added to the users
database.
2022-09-04 12:25:06 +03:00
Evgeny Grin (Karlson2k)
2a9071b862
Modified public Digest Username struct to include the algorithm
2022-08-26 09:42:13 +03:00
Evgeny Grin (Karlson2k)
e5d0b31486
microhttpd.h: Fixed missing version bump
2022-08-26 09:02:52 +03:00
Evgeny Grin (Karlson2k)
a291640066
digestauth: keep results of algo and QOP parsing, renamed public struct member
2022-08-25 20:04:47 +03:00
Evgeny Grin (Karlson2k)
5e5efd9279
microhttpd.h: doxy and other minor improvements
2022-08-25 20:03:53 +03:00
Evgeny Grin (Karlson2k)
badb7c8fc9
microhttpd: small doxy correction
2022-08-17 08:11:51 +03:00
Evgeny Grin (Karlson2k)
83f50ffcea
digestauth: minor doxy correction for public API
2022-08-16 10:20:11 +03:00
Evgeny Grin (Karlson2k)
21d8f5461b
digestauth: updated the method of nonce generation in default mode
2022-08-15 21:37:51 +03:00
Evgeny Grin (Karlson2k)
2f8eefada8
Added MHD_OPTION_DIGEST_AUTH_NONCE_BIND_TYPE to control how to generate and
...
check nonces for Digest Auth
2022-08-15 16:21:45 +03:00
Evgeny Grin (Karlson2k)
c6b2aee828
microhttpd: minor doxy improvement
2022-08-12 17:39:13 +03:00
Christian Grothoff
5c3cdf717b
-fix typos
2022-07-30 23:40:22 +02:00
Evgeny Grin (Karlson2k)
34059c3094
MHD_digest_auth_check3(): return failed parameter if it is known
2022-07-30 22:28:45 +03:00
Evgeny Grin (Karlson2k)
51bea81bf7
microhttpd.h: sorted Digest Auth functions and enums
...
This should improve readability of the header.
2022-07-30 22:28:44 +03:00
Evgeny Grin (Karlson2k)
fff9fa7832
digestauth: implemented support for RFC 2069
...
The old Digest Auth specification, but still supported by many clients.
2022-07-30 22:28:44 +03:00
Evgeny Grin (Karlson2k)
0ecad853ed
Added new MHD_OPTION_DIGEST_AUTH_RANDOM_COPY option
2022-07-30 22:28:43 +03:00
Evgeny Grin (Karlson2k)
653376caa5
microhttpd: improved description for MHD_OPTION_DIGEST_AUTH_RANDOM
2022-07-30 22:28:43 +03:00