Evgeny Grin (Karlson2k)
c930fe1ae3
testcurl/https: updated copyright year in modified files, fixed some doxy
2022-10-10 13:45:36 +03:00
Evgeny Grin (Karlson2k)
868cb71aa2
https tests: renamed private key variable to match certificate name
2022-10-10 13:45:35 +03:00
Evgeny Grin (Karlson2k)
cfe614ca37
test_https_session_info: removed hardcoded TLS version
...
Test rewritten to use several known TLS versions. If all known TLS
version fail, test is skipped instead of error.
This way MHD is forward-compatible with TLS libraries versions, as
TLS versions are phased out from time to time.
2022-10-10 11:54:32 +03:00
Evgeny Grin (Karlson2k)
3330f10e62
testcurl/https: some simplifications and clean-ups
2022-10-10 11:54:32 +03:00
Evgeny Grin (Karlson2k)
8d00c4f778
testcurl/https: enable verbose libcurl on debug builds
2022-10-10 11:54:29 +03:00
Evgeny Grin (Karlson2k)
26c6ba57bd
test_https_session_info: fixed compiler warning with old libcurl
2022-10-06 14:23:04 +03:00
Evgeny Grin (Karlson2k)
f069ee365d
testcurl/https: removed explicit cipher setting
...
Explicit ciphers are not required and not future-proof.
2022-10-05 18:42:20 +03:00
Evgeny Grin (Karlson2k)
28e28436c6
testcurl/https: fixed compiler warnings, wrong types
2022-10-05 18:42:19 +03:00
Evgeny Grin (Karlson2k)
c1f7c8075a
testcurl/https: fixed functions declarations
2022-10-05 13:19:01 +03:00
Evgeny Grin (Karlson2k)
1e288041bd
Fixed initialisation of old GnuTLS versions
2022-09-25 18:39:40 +03:00
Evgeny Grin (Karlson2k)
977d01df7a
src/microhttpd/test_*: fixed more compiler warnings
2022-06-14 21:22:33 +03:00
Evgeny Grin (Karlson2k)
85ae657849
Replaced MHD_RESPMEM_PERSISTENT usage in examples and code
...
New functions do not produce compiler warnings.
2022-05-14 15:07:47 +03:00
Evgeny Grin (Karlson2k)
bd41946e8f
Renamed 'con_cls' -> 'req_cls' for access handler callback
...
The argument is actually request-specific, not connection specific. The
name was confusing.
Fixed related documentation and clarified usage.
Also fixed code where argument named 'unused' was actually used.
2022-01-18 15:18:40 +03:00
Evgeny Grin (Karlson2k)
5eae5d9ba2
https tests: mute compiler warning on old systems
2021-12-13 21:07:44 +03:00
Evgeny Grin (Karlson2k)
8f803e184a
https tests: mute compiler warnings for old curl
2021-12-12 16:31:50 +03:00
Christian Grothoff
dbe1d76d9c
-fix tests for libmagic (and uncrustify indentation)
2021-12-08 14:11:31 +01:00
Evgeny Grin (Karlson2k)
6dbe969d4d
tests: removed curl_uses_nss_ssl(), used new backend identification functions
2021-06-10 21:09:25 +03:00
Evgeny Grin (Karlson2k)
9ce7aa953a
Style and shadowing fixes
2021-04-13 20:42:49 +03:00
Christian Grothoff
beb7fa828c
fix transmission stall issue with upgraded TLS connections reported by Nguyen Xuan Viet on the mailinglist
2020-09-27 22:12:13 +02:00
Christian Grothoff
de872dea2d
define and use 'enum MHD_Result'
2020-04-08 23:36:41 +02:00
Christian Grothoff
7389c34528
tighten formatting rules
2019-10-31 13:06:08 +01:00
Christian Grothoff
972103dc28
applying uncrustify to ensure uniform indentation
2019-10-17 16:56:41 +02:00
Evgeny Grin (Karlson2k)
3894027826
tests: properly setup CURL options
2019-05-26 18:17:32 +03:00
Christian Grothoff
5e0e6b15c4
fix leak in test on error path
2018-02-28 00:46:36 +01:00
Evgeny Grin (Karlson2k)
23324164fb
https tests: supported multi-TLS selection on libcurl >= 7.56.0,
...
fixed error report for failed initialisation of libcurl
2017-11-15 16:12:12 +03:00
Evgeny Grin (Karlson2k)
5518c48aa5
test_https_session_info: silenced compiler warning.
2017-11-09 21:49:48 +03:00
Evgeny Grin (Karlson2k)
d1d4e15a97
Stick to C89 standard for a while
2017-10-31 15:20:39 +03:00
Evgeny Grin (Karlson2k)
28f723b238
Silenced compiler warnings in src/testcurl/https, minor fixes.
2017-10-30 23:37:44 +03:00
Christian Grothoff
1a23dd25c3
misc style improvements, fixing some tiny rare memory leaks in examples
2017-10-05 23:16:19 +02:00
Evgeny Grin (Karlson2k)
9d1596d310
Make testsuite parallel build compatible (part 2)
2017-06-25 20:33:19 +03:00
Evgeny Grin (Karlson2k)
a7b7a32ec6
Dropped dependency on libgcrypt with new GnuTLS (>2.12.20) versions
2017-06-20 23:55:34 +03:00
Evgeny Grin (Karlson2k)
fea6bf18a1
HTTPS test fixes and improvements:
...
always skip tests if libcurl do not support HTTPS (instead of failing)
return 99 in case of global errors (MHD-unrelated)
print error result if test if failed
fixed ignored result of epoll test in test_https_get_select
allow compilation by C89 compiler
2017-04-10 20:00:02 +03:00
Evgeny Grin (Karlson2k)
d5245634c2
Added MHD_USE_ERROR_LOG flag with same value as MHD_USE_DEBUG.
...
New name better explains flag actions.
2016-11-08 19:41:28 +03:00
Evgeny Grin (Karlson2k)
c39f9bfb26
Specify that flag MHD_USE_INTERNAL_POLLING_THREAD is mandatory if MHD_USE_THREAD_PER_CONNECTION is used
2016-11-08 01:00:00 +03:00
Christian Grothoff
d9312296fd
fix more clang warnigns
2016-10-17 16:00:12 +02:00
Christian Grothoff
ef7fe75ff2
deprecate USE_SSL for USE_TLS, rename in code
2016-10-11 16:09:17 +00:00
Christian Grothoff
8d83647523
-check for versions, report tests as skipped if versions missmatch
2016-02-20 12:30:43 +00:00
Christian Grothoff
b118d605ac
fix #3893 - thanks matwey
2015-07-15 12:15:11 +00:00
Christian Grothoff
a85f2baa9d
fix #3869 : outdated FSF address
2015-06-30 11:39:18 +00:00
Christian Grothoff
f88e041ca0
tolerate TLS 1.1 / 1.2 disagreement
2015-04-06 22:18:40 +00:00
Christian Grothoff
7d1a24e754
fixing https testcases that require SSL3, but SSL3 is dead and with modern gnutls not even supported
2015-04-03 17:36:25 +00:00
Christian Grothoff
10cf14317c
-bringing copyright tags up to FSF standard
2015-02-07 23:12:45 +00:00
Christian Grothoff
c8ddb867ee
fully initialze modern gcrypt in MHD_init, only use thread initialization with legacy libgcrypt, update tests accordingly
2013-09-23 12:09:46 +00:00
Christian Grothoff
a2425da6f9
proper gcrypt thread initialization in tests
2013-09-15 20:22:40 +00:00
Christian Grothoff
155fcf546f
-renaming for consistency
2013-03-29 16:16:02 +00:00