Commit Graph
4864 Commits
Author SHA1 Message Date
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) fa6925600a mhd_find_lib.m4: fixed compatibility with old autoconf 2023-03-29 20:18:01 +02:00
Evgeny Grin (Karlson2k) ea247786da Upgraded TLS: warn if emergency buffer is used 2023-03-29 17:13:46 +02:00
Evgeny Grin (Karlson2k) a5267b2933 mhd_shutdown_socket_trigger.m4: fixed preprocessor conditional 2023-03-25 17:58:17 +01:00
Evgeny Grin (Karlson2k) dcd8ea9869 mhd_check_func_gettimeofday.m4: added new autoconf macro 2023-03-14 21:34:26 +03:00
Evgeny Grin (Karlson2k) 779bbfb525 configure: cosmetics: deleted extra spaces 2023-03-14 21:32:20 +03:00
Evgeny Grin (Karlson2k) b8089fef86 configure: improved compatibility with POSIX 2023-03-14 21:32:20 +03:00
Evgeny Grin (Karlson2k) 8ba307c958 configure: cosmetics
Fixed warnings reported by some IDEs.
2023-03-14 21:32:20 +03:00
Evgeny Grin (Karlson2k) 04df67221a configure: fixed potential compiler warnings, added usage of cache vars
Fixed compiler warnings on non-Linux based platforms.
Added some cache variables usages for easy override configure results.
2023-03-14 21:32:19 +03:00
Evgeny Grin (Karlson2k) 059054995c configure: fixed more compiler warnings in log 2023-03-14 21:32:19 +03:00
Evgeny Grin (Karlson2k) 17bc3279f6 configure: removed check for unused lib and function 2023-03-14 21:32:19 +03:00
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