Evgeny Grin (Karlson2k)
a50756adb1
tests: adopted to new libcurl API
2023-06-01 09:20:29 +03:00
Evgeny Grin (Karlson2k)
06001f4ee1
autoinit_funcs.h: fixed compiler warning
2023-06-01 09:15:35 +03:00
Evgeny Grin (Karlson2k)
31ce530d6b
The proper fix for MHD_get_connection_info()
...
This is a correction for 35c9e7189e
2023-05-25 12:04:03 +03:00
Evgeny Grin (Karlson2k)
35c9e7189e
MHD_get_connection_info(): fixed copying pointer instead of copying value
2023-05-25 11:51:46 +03:00
Evgeny Grin (Karlson2k)
9ee937b3a5
test_postform: updated to support the new libcurl API
...
Muted libcurl deprecations warnings.
2023-05-15 17:50:59 +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)
55aa3677af
{md5,sha256}_ext.c: fixed processing of initialisation error with NULL handler
...
Thanks Christian for spotting it and for the proper fix in eeb4166266
2023-04-17 17:05:51 +03:00
Evgeny Grin (Karlson2k)
e1b0fc4101
{md5,sha256}_ext.c: comments added
2023-04-17 15:42:25 +03:00
Christian Grothoff
eeb4166266
-fix bogus assert, use proper libgcrypt type
2023-04-17 10:55:22 +02:00
Evgeny Grin (Karlson2k)
edf692a616
Implemented and used new function MHD_pool_deallocate()
...
The new function has special handling for user-poison mode.
2023-04-05 19:44:49 +03:00
Evgeny Grin (Karlson2k)
95ad2a9a48
memorypool: added more asserts
2023-04-05 19:43:41 +03:00
Evgeny Grin (Karlson2k)
f37c98c5cf
memorypool: fixed wrong pointer comparison introduced by 3444792f14
2023-04-05 14:08:01 +03:00
Evgeny Grin (Karlson2k)
79c6f9d524
memorypool: cosmetics
2023-04-05 14:04:52 +03:00
Evgeny Grin (Karlson2k)
da42f22c64
Upgraded TLS: use more available memory for pumping the data
2023-03-31 09:20:42 +02:00
Evgeny Grin (Karlson2k)
05b59a0199
Upgraded connection: replaced two checks with asserts
...
The response should be checked by "queue" function.
2023-03-30 18:36:15 +02:00
Evgeny Grin (Karlson2k)
db659970f9
connection.c: cosmetics
2023-03-30 18:36:14 +02:00
Evgeny Grin (Karlson2k)
6b5e509ff0
Upgraded TLS: fixed inefficient communication
2023-03-30 18:36:14 +02: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)
ea247786da
Upgraded TLS: warn if emergency buffer is used
2023-03-29 17:13:46 +02: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)
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
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
Evgeny Grin (Karlson2k)
0c4ef0dd38
Correction for 4a169d0cff
2022-12-24 18:27:01 +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)
9d2994f1ea
test_get_iovec: fixed missing include headers
2022-11-24 13:37:43 +03:00