Christian Grothoff
06819f2e89
-indentation fix
2022-04-04 07:47:32 +02:00
Evgeny Grin (Karlson2k)
15e2a3a259
configure: netter format reporting for *FLAGS
2022-04-03 20:17:43 +03:00
Evgeny Grin (Karlson2k)
a3579e7061
Added two helper macros to manipulate *FLAGS vars
2022-04-03 20:17:43 +03:00
Evgeny Grin (Karlson2k)
29dfdc7cfb
configure: added final reporting for *FLAGS
2022-04-03 20:17:43 +03:00
Evgeny Grin (Karlson2k)
ccbeb19f76
Moved libtool-specific flags to Makefile
2022-04-03 20:17:43 +03:00
Evgeny Grin (Karlson2k)
54fa890e5b
configure: used more reliable test for -fvisibility
2022-04-03 20:17:43 +03:00
Evgeny Grin (Karlson2k)
82a26bfed2
Added autoconf macro for checking compiler parameters/flags
2022-04-03 20:17:42 +03:00
Evgeny Grin (Karlson2k)
a0c836e668
configure: added workaround for problematic formating tools
2022-04-03 20:17:42 +03:00
Evgeny Grin (Karlson2k)
203f6b604e
mhd_check_func.m4: fixed macro
...
Previously macro failed with comma-delimited and quoted parameters
2022-04-03 20:17:42 +03:00
Evgeny Grin (Karlson2k)
d39a3da584
mhd_norm_expd.m4: added autoconf helper macro
2022-04-03 20:17:42 +03:00
Evgeny Grin (Karlson2k)
66883d8396
configure: modified z/OS settings
2022-04-03 20:17:41 +03:00
Evgeny Grin (Karlson2k)
87a9c2bb87
configure: moved initialisation block
2022-04-03 20:17:41 +03:00
Evgeny Grin (Karlson2k)
0d42dbeee3
configure: added "auto-optional" value for sanitizers parameter
...
"auto-optional" detects and enables any supported sanitizers and
does not fail if no sanitizers are available
2022-03-20 13:03:11 +03:00
Evgeny Grin (Karlson2k)
c310c029fc
configure: do not use sanitizers without run-time lib, unless explicitly requested
...
Sanitizers without run-time libs have very limited value and often are
not tested properly. Do not enable them unless explicitly requested.
2022-03-19 15:21:40 +03:00
Evgeny Grin (Karlson2k)
1061dc30c7
configure: fixed order of compiler flags, fixed check
2022-03-19 15:20:39 +03:00
Evgeny Grin (Karlson2k)
38a504c980
configure: fixed compiler flags for UBSan
2022-03-19 14:30:46 +03:00
Evgeny Grin (Karlson2k)
b452fc4b19
MHD_create_response_empty(): added new function
2022-03-19 13:51:41 +03:00
Evgeny Grin (Karlson2k)
76ffb86c04
MHD_create_response_from_iovec(): fixed formatting
2022-03-19 13:14:58 +03:00
Evgeny Grin (Karlson2k)
90b00e6f80
Updated doxy for some of the MHD_create_response_*() functions
2022-03-18 11:39:58 +03:00
Evgeny Grin (Karlson2k)
41f35bbcb5
Added MHD_RF_HEAD_ONLY_RESPONSE response flag
...
Useful if application needs to send reply for HEAD request, but creation
of full reply body is costly.
2022-03-17 20:51:30 +03:00
Evgeny Grin (Karlson2k)
6981fc2791
add_user_headers(): removed unused footers support
2022-03-17 20:50:51 +03:00
Evgeny Grin (Karlson2k)
c3563144ee
MHD_queue_response(): significantly improved doxy
2022-03-14 21:22:21 +03:00
Evgeny Grin (Karlson2k)
470e65c68f
Disallowed MHD_SIZE_UNKNOWN for buffer-based responses
2022-03-14 20:39:50 +03:00
Evgeny Grin (Karlson2k)
f2565a62da
MHD_set_response_options(): check whether the new flags could be used
2022-03-13 20:31:45 +03:00
Evgeny Grin (Karlson2k)
8105f71cc5
Simplified function for determining needs for reply body and headers
2022-03-13 16:49:11 +03:00
Evgeny Grin (Karlson2k)
3a6b50c821
MHD_queue_response(): refuse 101 code when not supported
2022-03-13 12:08:24 +03:00
Evgeny Grin (Karlson2k)
45b90c7cea
MHD_queue_response(): clarified log message
2022-03-13 11:44:03 +03:00
Evgeny Grin (Karlson2k)
2ebe7a859c
Disallowed successful responses for CONNECT requests
...
MHD currently does not support CONNECT pass-through.
However, support could be added relatively easily.
Contact MHD maintainers if you need CONNECT support.
2022-03-11 15:57:41 +03:00
Evgeny Grin (Karlson2k)
e74fad6000
Added warning in log if application-defined Content-Length is used
2022-03-10 17:02:25 +03:00
Evgeny Grin (Karlson2k)
b9743114cf
Added separate internal "responseIcy" flag.
...
This simplified the code.
Also fixed some incorrect responseCode processing without ICY mask.
2022-03-10 16:53:19 +03:00
Evgeny Grin (Karlson2k)
b26d68a71c
upgrade response: set response size to zero
...
Upgrade responses do not have body, so zero must be used as the body size.
2022-03-08 10:35:47 +03:00
Evgeny Grin (Karlson2k)
1a46bfd6e0
memorypool: fixed: unpoison memory for ASAN before destroying pool
2022-03-07 21:35:27 +03:00
Evgeny Grin (Karlson2k)
56a7664a72
reply: warn if manual "Content-Length" is used when this header is not allowed
2022-03-07 21:29:41 +03:00
Evgeny Grin (Karlson2k)
406c434c72
response headers: do not add automatic "Content-Length" header if response already has it
...
If application used MHD_RF_INSANITY_HEADER_CONTENT_LENGTH response flag
and added manual "Content-Length" header, MHD will not add the correct
header.
2022-03-07 21:29:41 +03:00
Evgeny Grin (Karlson2k)
edf32d5108
response.c: fixed coding style
2022-03-07 21:29:41 +03:00
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