Evgeny Grin (Karlson2k)
37ab64c6e1
Renamed one more configuration macro for clarity
2025-01-17 12:25:40 +01:00
Evgeny Grin (Karlson2k)
1d18e14e60
Renamed some configuration macros for clarity and consistency
2025-01-13 14:24:05 +01:00
Evgeny Grin (Karlson2k)
6a1a29c795
Digest Auth: part one
2024-12-22 19:09:53 +01:00
Evgeny Grin (Karlson2k)
57936b7d69
Updated one more unused Makefile.am
2024-12-20 12:50:40 +01:00
Evgeny Grin (Karlson2k)
98c8adf03e
Basic Auth: the first part
2024-12-08 20:34:46 +03:00
Evgeny Grin (Karlson2k)
c900c14fde
configure: updated GnuTLS detection, rejected too old GnuTLS versions
...
Can be backported
2024-11-18 17:17:54 +03:00
Evgeny Grin (Karlson2k)
517976484a
Renamed public API functions, parameters, updated doxy
2024-07-30 17:13:13 +02:00
Evgeny Grin (Karlson2k)
41f2a26f62
Initial draft M2 (WIP)
2024-07-01 02:53:35 +02:00
Evgeny Grin (Karlson2k)
358c8336f5
Fixes for 32-bit platforms
2024-02-05 09:17:31 +01:00
Evgeny Grin (Karlson2k)
3cb28046ef
Moved test_quiesce to heavy tests
...
Actually the test is not heavy, but it is slow and has very little
benefit (the tested functionality is very stable).
2024-02-05 09:17:27 +01:00
Evgeny Grin (Karlson2k)
f2e8c99e24
Skipped some HTTPS tests with old broken GnuTLS
2024-02-05 09:17:27 +01:00
Evgeny Grin (Karlson2k)
ad0468c1ed
test_digestauth2: supported old libcurl versions
2024-02-05 09:17:27 +01:00
Evgeny Grin (Karlson2k)
37286a3b73
Fixed compiler warnings
2024-02-05 09:17:25 +01:00
Evgeny Grin (Karlson2k)
fd07daae7a
Fixed compiler warnings
2024-02-05 09:17:25 +01:00
Evgeny Grin (Karlson2k)
e43f3716f0
Fixed and/or muted compiler warnings
2024-02-05 09:17:24 +01:00
Evgeny Grin (Karlson2k)
e880d6c66c
libcurl tests: fixed compiler warnings
2024-02-05 09:17:23 +01:00
Christian Grothoff
ecc4a7acc3
clean up logic, simplify one dead branch in test
2024-02-05 09:17:20 +01:00
Evgeny Grin (Karlson2k)
a532889eff
test_digestauth_concurrent: fixed error message
2023-12-29 16:58:16 +03:00
Evgeny Grin (Karlson2k)
e0d8708b33
tests: added setting of DAuth max nc value by daemon option
2023-12-29 16:57:15 +03:00
Evgeny Grin (Karlson2k)
67b1cdc29d
Tests: added use of MHD_USE_NO_THREAD_SAFETY flag
2023-11-23 13:47:00 +03:00
Evgeny Grin (Karlson2k)
6fde86c265
test_digestauth2: fixed order of the initial checks
...
This should improve reported warnings when test is skipped.
2023-11-21 17:37:14 +03:00
Evgeny Grin (Karlson2k)
89c1076aac
Added MHD_OPTION_APP_FD_SETSIZE and MHD_FEATURE_FLEXIBLE_FD_SETSIZE
...
This should provide better compatibility with platforms with ability
to override FD_SETSIZE.
The new option is used examples and tests.
2023-11-07 20:49:10 +03:00
Evgeny Grin (Karlson2k)
ce38b0fa79
Renamed one new basic auth function, improved doxy
2023-10-06 14:12:31 +03:00
Evgeny Grin (Karlson2k)
d588a45578
Correction for 93bc2751bf
2023-09-27 20:35:10 +03:00
Evgeny Grin (Karlson2k)
93bc2751bf
Improved compatibility with old compilers
2023-09-27 20:02:00 +03:00
Evgeny Grin (Karlson2k)
78e28ecca8
test_long_header: improved, fixed, added error reporting
2023-09-27 17:44:21 +03:00
Evgeny Grin (Karlson2k)
b1f2ddbb03
test_put_header_fold: fixed copy-paste error
2023-09-27 15:21:44 +03:00
Evgeny Grin (Karlson2k)
7b2ab60e03
test_long_header: re-use the same port for all checks
2023-09-27 15:21:43 +03:00
Evgeny Grin (Karlson2k)
15575e2998
tests: fixed compiler warnings
2023-09-27 09:16:21 +03:00
Evgeny Grin (Karlson2k)
dff7ab0d63
test_toolarge: removed debug value introduced by 6ee7fa38d9
2023-09-26 16:48:25 +03:00
Evgeny Grin (Karlson2k)
6ee7fa38d9
Rewritten handling of exhaustion of memory pool when receiving
...
The new implemented is even more unified and used directly when there
is no space to add pointers to the new header or cookie.
The new implementation has more detailed descriptions in the error reply
bodies.
Situations with too long non-standard request HTTP method are handled
correctly.
The response HTTP error code better matches the reason. For example,
if overwhelming majority of buffer is used by request URI string and
request header cannot fit the rest of the buffer, the reply code
is 414 "URI Too Long" instead of 431 "Request Header Fields Too Large",
which was used previously.
2023-09-26 16:43:33 +03:00
Christian Grothoff
4a031e5482
-fix theoretical use-after-free in test on error path
2023-09-25 21:52:48 +02:00
Christian Grothoff
5083df300e
fix check order
2023-09-25 21:41:10 +02:00
Christian Grothoff
e42c783bb8
-very theoretically, 0 would be OK, too
2023-09-25 21:13:17 +02:00
Evgeny Grin (Karlson2k)
76bb5944a5
test_put_header_fold: fixed code style
2023-09-17 11:07:41 +03:00
Evgeny Grin (Karlson2k)
c209ce76f7
Fixed missing <errno.h> includes
...
While 'errno' can be defined in various headers, by standard it must
be defined in <errno.h> header.
2023-09-17 11:07:40 +03:00
Evgeny Grin (Karlson2k)
a9bc3198c8
Renamed 'pid' -> 'tid' when used for threads
2023-09-08 12:03:33 +03:00
Evgeny Grin (Karlson2k)
edde133d39
Added tests with single and double folded header
2023-06-20 23:22:55 +03:00
Evgeny Grin (Karlson2k)
48ae1a36da
Added test with large folded header
2023-06-20 23:22:55 +03:00
Evgeny Grin (Karlson2k)
04ad057ab9
Added test with folded header placed last
2023-06-20 23:22:55 +03:00
Evgeny Grin (Karlson2k)
6878cd9144
Added new tests with header fold
2023-06-20 23:22:54 +03:00
Evgeny Grin (Karlson2k)
dce208464a
tests: minor improvemnts
2023-06-20 23:22:53 +03:00
Evgeny Grin (Karlson2k)
3389c7fbba
.gitignore: force include all *.{c,h} files
2023-06-01 11:29:25 +03:00
Evgeny Grin (Karlson2k)
3002ca583e
test_post: fixed caseless key name match
2023-06-01 09:44:31 +03:00
Evgeny Grin (Karlson2k)
70c1dbb15b
test_timeout: moved to heavy tests
2023-06-01 09:41:22 +03:00
Evgeny Grin (Karlson2k)
35635c6a78
test_quiesce: fixed possible uninitialised var
2023-06-01 09:29:36 +03:00
Evgeny Grin (Karlson2k)
6b791e5612
test_toolarge: fixed reported error description
2023-06-01 09:21:32 +03:00
Evgeny Grin (Karlson2k)
a50756adb1
tests: adopted to new libcurl API
2023-06-01 09:20:29 +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)
a7c913850d
test_tricky: fixed reported error description
2022-12-27 16:20:20 +03:00