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)
8d00c4f778
testcurl/https: enable verbose libcurl on debug builds
2022-10-10 11:54:29 +03:00
Evgeny Grin (Karlson2k)
f7747015d8
testcurl/https: do not enforce TLSv1
...
Usage of concrete TLS version is not future-proof. Relay on default
version setting by libcurl/TLS lib.
2022-10-05 18:42:20 +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)
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)
166b572354
Use HTTP/1.1 for all TLS tests
...
Nobody is using HTTP/1.0 with TLS
2022-04-21 13:40:09 +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)
b812b174c3
tests: improved handling of curl multi_*
2021-08-16 19:30:25 +03:00
Evgeny Grin (Karlson2k)
6dbe969d4d
tests: removed curl_uses_nss_ssl(), used new backend identification functions
2021-06-10 21:09:25 +03: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
Evgeny Grin (Karlson2k)
710d79a2ea
test_https_get_select: fixed usage of uninitialized variable
2019-05-26 18:02:51 +03: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)
28f723b238
Silenced compiler warnings in src/testcurl/https, minor fixes.
2017-10-30 23:37:44 +03:00
Evgeny Grin (Karlson2k)
80ff0e1596
tests: fixed some 'unused return value' compiler warnings
2017-10-30 18:39:47 +03:00
Evgeny Grin (Karlson2k)
a3e227ea15
https test: fixed too long waiting for empty fdsets
2017-10-30 18:21:51 +03:00
Evgeny Grin (Karlson2k)
21ce9bfad3
Make testsuite compatible with W32 again
2017-10-29 23:36:00 +03: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)
1c9fd1b90f
Fixed non-portable changes in 91548850d9
...
Fixed waiting for empty fd_sets in test_empty_response.c and test_https_get_select.c
2017-03-12 22:37:29 +03:00
Christian Grothoff
91548850d9
check system call return values in tests
2017-03-10 16:40:27 +01: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
Christian Grothoff
ef7fe75ff2
deprecate USE_SSL for USE_TLS, rename in code
2016-10-11 16:09:17 +00:00
Evgeny Grin (Karlson2k)
cd030ca9ca
epoll is now supported on non-Linux platforms (namely illumos).
...
Renamed MHD options and updated documentation.
2016-08-24 15:02:16 +00:00
Evgeny Grin (Karlson2k)
9826ad54e0
Refactoring: do not define EPOLL_SUPPORT if epoll is disabled or not supported.
2016-08-24 15:02:10 +00:00
Evgeny Grin (Karlson2k)
e198febcf8
Fix testsuite compiler warnings on W32
2016-03-26 00:38:26 +00:00
Christian Grothoff
a85f2baa9d
fix #3869 : outdated FSF address
2015-06-30 11:39:18 +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
Evgeny Grin (Karlson2k)
c311027f28
Implement MHD_socket, MHD_INVALID_SOCKET
2014-02-18 18:37:48 +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
a5f4e104cc
-do not run epoll tests if epoll was disabled, even on linux
2013-08-28 09:41:30 +00:00
Christian Grothoff
81a04f09ce
-expanded HTTPS testcases to also cover epoll
2013-07-20 10:03:53 +00:00
Christian Grothoff
155fcf546f
-renaming for consistency
2013-03-29 16:16:02 +00:00