Evgeny Grin (Karlson2k)
aa69e178d2
response: added automatic flag MHD_RAF_HAS_CONTENT_LENGTH
2022-03-07 21:29:41 +03:00
Evgeny Grin (Karlson2k)
f46f4b75dd
MHD_queue_response(): improved doxy
2022-03-07 21:29:40 +03:00
Evgeny Grin (Karlson2k)
e9292a95ec
connection.c: added function to check used reply
...
Log warning if response has body, but no body is allowed for this
connection.
2022-03-07 21:29:40 +03:00
Evgeny Grin (Karlson2k)
02634d0147
daemon: fixed new compiler warnings
2022-01-31 18:32:38 +03:00
Evgeny Grin (Karlson2k)
464d174103
MHD_ip_limit_add(): do not use syscalls while holding the lock
2022-01-31 18:29:45 +03:00
Evgeny Grin (Karlson2k)
1e82d32256
test_digestauth_concurrent: fixed non-W32 random generation
2022-01-31 15:58:24 +03:00
Evgeny Grin (Karlson2k)
03953a6960
MHD_ip_addr_to_key(): identify type of address by 'sa_family' instead of size
...
Potentially size of some address family may match size of know address family.
2022-01-31 15:48:30 +03:00
Evgeny Grin (Karlson2k)
0e4fc12c5a
MHD_add_connection(): reject wrong addrlen
2022-01-31 15:48:14 +03:00
Evgeny Grin (Karlson2k)
1c4e21f099
test_digestauth_concurrent: finish the test even if error is found
2022-01-31 14:22:55 +03:00
Evgeny Grin (Karlson2k)
8c901963d7
digestauth: reject invalid 'nc' value
2022-01-31 14:19:33 +03:00
Evgeny Grin (Karlson2k)
a9adbf77b9
Added new test for concurrent digest authorisation
...
Testcase for the situation reported in mailing list:
https://lists.gnu.org/archive/html/libmicrohttpd/2022-01/msg00000.html
2022-01-30 20:01:40 +03:00
Evgeny Grin (Karlson2k)
76caa2901b
test: fixed processing '--quiet' parameter
...
Added support for '--silent' and '-s' parameters.
2022-01-30 18:35:25 +03:00
Evgeny Grin (Karlson2k)
a901003360
test_digestauth*: fixed possible use of uninitialised data
2022-01-30 17:40:19 +03:00
Evgeny Grin (Karlson2k)
1e7346ceb3
test_digestauth: removed unneeded escaping in test URL
2022-01-30 17:12:49 +03:00
Evgeny Grin (Karlson2k)
1a1e9a591e
test_digestauth: added workaround for bug in old libcurl
2022-01-30 17:09:41 +03:00
Evgeny Grin (Karlson2k)
4ec79163b2
test_{digestauth,quiesce}: added report for libcurl error
2022-01-30 15:14:52 +03:00
Evgeny Grin (Karlson2k)
d41ebab244
Fixed code style in basicauth.c
2022-01-27 20:31:33 +03:00
Evgeny Grin (Karlson2k)
63b63330fb
Updated doxy; explicitly tolerated NULL in MHD_queue*_auth*()
2022-01-27 20:31:05 +03:00
Evgeny Grin (Karlson2k)
1a7e4a5a5b
Updated docs, test, and example to use correct digest auth API
2022-01-27 19:13:37 +03:00
Evgeny Grin (Karlson2k)
f20f9b5b95
test_digestauth: correctly use MHD API
2022-01-27 18:56:56 +03:00
Evgeny Grin (Karlson2k)
b5b731a456
test_digestauth: added more detailed error reporting
2022-01-27 18:48:03 +03:00
Evgeny Grin (Karlson2k)
e0cb9221fe
test_quiesce: minor code unification
2022-01-27 16:27:53 +03:00
Evgeny Grin (Karlson2k)
07008a6f08
test_digestauth: use new API
2022-01-27 15:27:16 +03:00
Evgeny Grin (Karlson2k)
1b1361e4c6
test_postprocessor_md: used the new source file instead of the local substitution
2022-01-25 19:45:53 +03:00
Evgeny Grin (Karlson2k)
fa7e0ae04b
mhd_panic: replaced direct function call with the macro
...
MHD_PANIC is generally used as a macro, but for some reason function was
used directly in a few places.
2022-01-25 19:45:53 +03:00
Evgeny Grin (Karlson2k)
fc66711ad5
Moved mhd_panic() and helpers to separate .c/.h files
2022-01-25 19:45:53 +03:00
Evgeny Grin (Karlson2k)
89b4a7fb2d
mhd_check_func.m4: fixed overquoting
2022-01-25 19:45:52 +03:00
Evgeny Grin (Karlson2k)
9b0bb72bf6
mhd_check_func.m4: fixed English grammar
2022-01-25 19:44:38 +03:00
Evgeny Grin (Karlson2k)
f8c9870a30
check_nonce_nc(): reworked mutex handling
2022-01-18 20:44:35 +03:00
Evgeny Grin (Karlson2k)
caf7bcd334
gitignore: updated
2022-01-18 18:44:57 +03:00
Evgeny Grin (Karlson2k)
0074fcbdce
digestauth: Moved hex printing function to mhd_str
2022-01-18 18:44:21 +03:00
Evgeny Grin (Karlson2k)
6ed5b52d3e
Fixed early response with digest auth in tests, examples, and documentation
2022-01-18 15:56:09 +03:00
Evgeny Grin (Karlson2k)
84a92e8a71
Added more workarounds for uncrustify bugs
2022-01-18 15:22:35 +03:00
Evgeny Grin (Karlson2k)
ba2d078858
largepost: fixed code style
2022-01-18 15:19:13 +03:00
Evgeny Grin (Karlson2k)
bd41946e8f
Renamed 'con_cls' -> 'req_cls' for access handler callback
...
The argument is actually request-specific, not connection specific. The
name was confusing.
Fixed related documentation and clarified usage.
Also fixed code where argument named 'unused' was actually used.
2022-01-18 15:18:40 +03:00
Evgeny Grin (Karlson2k)
17c22c2c3b
digestauth: added macros for algorithms identifications
2022-01-18 12:41:32 +03:00
Christian Grothoff
899e26205a
fix capitalization of SHA-256 / MD5 as per RFC 7616 as reported on the mailinglist by Ahmet Kermen
2022-01-17 10:51:08 +01:00
Evgeny Grin (Karlson2k)
0ea5d51447
test_upgrade{,_large}: used the same port for all checks.
...
Fixed port conflict for platforms with broken detection of autobind port
2022-01-15 17:45:48 +03:00
Evgeny Grin (Karlson2k)
0a478564f7
test_upgrade{,_large}: simplified stdout,stderr flushing
2022-01-15 17:27:45 +03:00
Evgeny Grin (Karlson2k)
d44b9b23e0
test_upgrade_large: applied fixes and improvements from test_upgrade
2022-01-15 17:04:51 +03:00
Evgeny Grin (Karlson2k)
dab2e23151
test_upgrade: added missing fflush()
2022-01-15 17:04:51 +03:00
Evgeny Grin (Karlson2k)
42d39ec4bf
test_upgrade: minor code refactoring
2022-01-15 17:04:51 +03:00
Evgeny Grin (Karlson2k)
8c4f7ce1ea
test_upgrade: use 'volatile' for variable with multithread access
2022-01-15 17:04:51 +03:00
Evgeny Grin (Karlson2k)
b5a7f1835f
test_upgrade: fail if connection is closed when it shouldn't
2022-01-15 17:04:50 +03:00
Evgeny Grin (Karlson2k)
34a6a0254f
test_upgrade: don't fail with particular sockets errors
2022-01-15 17:04:50 +03:00
Evgeny Grin (Karlson2k)
c5c6afeeb9
test_upgrade: replaced a few left abort() with meaningful descriptions
2022-01-15 15:53:47 +03:00
Evgeny Grin (Karlson2k)
376afc84c2
test_upgrade: added detailed error reporting and add some check for return values
2022-01-13 22:16:19 +03:00
Evgeny Grin (Karlson2k)
b09dc37301
test_upgrade{,_large}: fixed use of uninitialized value
2022-01-13 21:04:03 +03:00
Evgeny Grin (Karlson2k)
ebe0f498d8
tests: simplified libcurl HTTP settings
2022-01-12 19:15:56 +03:00
Evgeny Grin (Karlson2k)
856d716866
testcurl tests: updated to use test helpers in local headers
2022-01-12 19:15:16 +03:00