Commit Graph
4853 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) ccf820530b configure: fixed checking for system libs, fixed .pc file
Fixed compiler warning when checking for libraries.
The private libraries var (used when linking with static lib) were fixed
in pkg-conf file.
2023-03-14 21:32:18 +03:00
Evgeny Grin (Karlson2k) 60fa305ab8 mhd_find_lib.m4: added new autoconf macro 2023-03-14 21:32:18 +03:00
Evgeny Grin (Karlson2k) d088b940a9 libcurl.m4: patched to fix compiler warning 2023-03-14 20:45:25 +03:00
Evgeny Grin (Karlson2k) f53cc36697 libcurl.m4: updated to the latest version 2023-03-14 20:43:46 +03:00
Evgeny Grin (Karlson2k) da73f7abf9 mhd_check_func.m4: added check for function declaration 2023-03-14 20:43:45 +03:00
Evgeny Grin (Karlson2k) 48255935e3 configure: fixed some compiler warnings for checks
Fixed compatibility with future compilers versions
2023-03-09 17:20:35 +03:00
Evgeny Grin (Karlson2k) 41ceade78d mhd_shutdown_socket_trigger.m4: fixed compiler warning 2023-03-03 18:16:21 +03:00
Evgeny Grin (Karlson2k) 2268614862 mhd_check_func.m4: updated
Fixed possible compiler warning with strictest compiler settings
2023-03-03 18:15:49 +03:00
Evgeny Grin (Karlson2k) 6b6c6db45e Makefile: fixed build with 'make' without nested vars support 2023-03-03 13:46:38 +03:00
Evgeny Grin (Karlson2k) 677e6e431a configure: fixed checks for tsearch() and related
New check works correctly with new compilers.
Added known problematic implementations.
Added more checks for correct behaviour.
Removed some m4 macros.
2023-03-03 13:23:01 +03:00
Evgeny Grin (Karlson2k) 29311f4097 mhd_check_link_run.m4: fixed typo in comment 2023-03-03 13:12:07 +03:00
Evgeny Grin (Karlson2k) 23b4be2f66 configure: reordered checks for compiler flags 2023-03-03 11:25:35 +03:00
Evgeny Grin (Karlson2k) 7b22ec1c0b tsearch.{h,c}: updated to the latest fixed version
Minor modification added to avoid compiler warnings
2023-03-03 08:32:43 +03:00
Evgeny Grin (Karlson2k) 2124a70e54 daemon.c: fixed heap manipulations with mutex held 2023-03-02 21:16:02 +03:00
Evgeny Grin (Karlson2k) 12f637aaf0 Corrected NEWS and ChangeLog 2023-03-01 17:22:13 +03:00
Christian Grothoff 43f59476b3 add CVE number 2023-03-01 08:54:26 +01:00
Evgeny Grin (Karlson2k) e88a26c10d Updated NEWS for v0.9.76 2023-02-28 21:31:00 +03:00
Christian Grothoff e8118a6fca -typo 2023-02-27 16:54:17 +01:00
Christian Grothoff 6d6846e20b fix parser bug that could be used to crash servers using the MHD_PostProcessor 2023-02-26 17:51:39 +01:00
Christian Grothoff 08f933a6ad epoll: immediately notice when other side closes the socket, instead of waiting for timeout (fixes #7192) 2023-02-08 15:26:19 +01:00
Christian Grothoff 4627d005d2 add assertion to guard against bad behavior described in #7196, also document that after suspending one must return MHD_YES 2023-02-08 14:28:49 +01:00
Evgeny Grin (Karlson2k) a7c913850d test_tricky: fixed reported error description 2022-12-27 16:20:20 +03:00
Evgeny Grin (Karlson2k) f927a8c363 test_digestauth2: fixed test report strings 2022-12-27 16:20:19 +03:00
Evgeny Grin (Karlson2k) a5504e3614 response.c: fixed compiler warning on x32 platforms 2022-12-27 16:20:19 +03:00
Evgeny Grin (Karlson2k) a0cb931f0c daemon: fixed compiler warning for non-TLS builds 2022-12-27 16:20:19 +03:00
Christian Grothoff fc848aaff3 -typo 2022-12-27 11:04:53 +01:00
Evgeny Grin (Karlson2k) 0c4ef0dd38 Correction for 4a169d0cff 2022-12-24 18:27:01 +03:00
Evgeny Grin (Karlson2k) 4a169d0cff configure: try to detect whether eventfd is enabled
eventfd is optional kernel feature, MHD can work just fine without
eventfd enabled.
2022-12-23 17:47:01 +03:00
Evgeny Grin (Karlson2k) 2efc013917 configure: used better detection of some functions when cross-compiling 2022-12-23 16:38:13 +03:00
Evgeny Grin (Karlson2k) 84dfd52f13 Added new M4 helper macro 2022-12-23 16:01:57 +03:00
Evgeny Grin (Karlson2k) 4dadf8ec97 Updated parsing of cookies, reject cookie completely if discipline is very strict 2022-12-22 20:17:55 +03:00
Evgeny Grin (Karlson2k) 012ae6c1c7 Updated W32 resources file 2022-12-22 18:26:33 +03: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) 42be9415cb connection.c: cosmetics 2022-12-21 18:50:22 +03:00
Evgeny Grin (Karlson2k) e60c63aff6 Always close connection after reply if both Content-Length and chucked are used
When both headers are used, the real length of the request may not be
determined unambiguously, the start of the next request is unclear.
2022-12-19 18:32:12 +03:00
Evgeny Grin (Karlson2k) 1e7ad3010d Refactored cookies parsing.
The new code is more compact as duplicated code was removed.
Added testing for various cookies parsing strictness levels.
2022-12-19 18:13:44 +03:00
Evgeny Grin (Karlson2k) 38b46a2fd1 test_parse_cookies: rewritten
Reused the same connection with the server.
Added more flexible checks.
2022-12-19 18:13:44 +03:00
Evgeny Grin (Karlson2k) 2a71dbd38f MHD_get_version_bin(): added new function 2022-12-19 18:13:44 +03:00
Evgeny Grin (Karlson2k) c47bb426b6 parse_http_version(): cosmetics 2022-12-19 18:13:43 +03:00
Evgeny Grin (Karlson2k) 784b802900 digestauth: avoid malloc() repeat by using the new function 2022-12-19 18:13:43 +03:00
Evgeny Grin (Karlson2k) e4db5b26c7 response.c: added new internal function to avoid repetitive malloc()s 2022-12-19 18:13:43 +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) 49c675a0e9 configure: fixed detection of eventfd() with new compilers builds 2022-11-26 19:30:19 +03:00
Evgeny Grin (Karlson2k) 9d2994f1ea test_get_iovec: fixed missing include headers 2022-11-24 13:37:43 +03:00
Evgeny Grin (Karlson2k) fcf9a2d29c test_upgrade{,_large}: fixed HTTP/1.1 compatibility 2022-11-24 13:37:37 +03:00
Evgeny Grin (Karlson2k) a37a83ff3e testcurl: fixed checking response headers as null-terminated string 2022-11-07 13:51:37 +03:00
Evgeny Grin (Karlson2k) 1ffe7932df Tests and examples: added rule to (re-)build libmicrohttpd.la 2022-11-06 15:01:19 +03:00
Evgeny Grin (Karlson2k) 099b50e44a connection: reject or log requests with both chunked encoding and Content-Length 2022-11-06 15:01:18 +03:00
Evgeny Grin (Karlson2k) 377e2cbd52 connection: refuse requests with unsupported Transfer-Encoding
The end of the request body (context) cannot be determined if
Transfer-Encoding is not supported.
2022-11-06 15:01:18 +03:00
Evgeny Grin (Karlson2k) 8d6d9be08d Fixed macro name spelling 2022-11-06 15:01:18 +03:00