Commit Graph
211 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) b812b174c3 tests: improved handling of curl multi_* 2021-08-16 19:30:25 +03:00
Evgeny Grin (Karlson2k) 99455892ab HTTPS tests: fixed memory leak in tests 2021-08-16 11:55:23 +03:00
Evgeny Grin (Karlson2k) 386b21da1b test_tls_options: multiple fixes
* SSLv3 is not supported anymore by TLS libs and CURL
* libcurl accepts requested and later versions of TLS,
  MHD and CURL TLS versions in second test must be reversed
* Test works with any TLS backend with a few exceptions
2021-06-10 21:20:44 +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
Evgeny Grin (Karlson2k) 6c84bcf3fe HTTPS tests: added new backend identification functions 2021-06-10 20:45:29 +03:00
Evgeny Grin (Karlson2k) 77a30308be HTTPS tests: ensure that CURL options were applied 2021-06-10 19:41:28 +03:00
Evgeny Grin (Karlson2k) 9ce7aa953a Style and shadowing fixes 2021-04-13 20:42:49 +03:00
Evgeny Grin (Karlson2k) 7d5e06ed5f Updated test certificates
Updated TLS test certificates with modern algorithms and correct
alternative names, which is closer to real live scenarios.
Examples programs work with browsers again.
2021-04-11 12:38:48 +03:00
Evgeny Grin (Karlson2k) d50159bf99 Implemented new function MHD_create_response_from_iovec()
Implemented the new function, related framework, and tests for iovec-based
responses.
The implementation is based on the patch provided by Lawrence Sebald and
Damon N. Earp from NASA.
2021-02-24 19:46:31 +03:00
Evgeny Grin (Karlson2k) 6d7f0a8f54 Fixed and muted compiler warnings 2020-12-23 22:40:59 +03:00
Evgeny Grin (Karlson2k) 8cb26daea6 Fixed conflict with system CPU_COUNT macro 2020-10-25 22:52:53 +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 89d2ef9732 define and use 'enum MHD_Result' (merge) 2020-04-08 23:38:07 +02:00
Christian Grothoff de872dea2d define and use 'enum MHD_Result' 2020-04-08 23:36:41 +02:00
silvioprog bcffdf809f Applied several spelling fixes. (#6142) 2020-03-31 15:08:34 -03:00
Christian Grothoff 2e8a4f8b9a mark build as non-parallel due to port conflicts (#6117) 2020-03-14 16:06:13 +01:00
Christian Grothoff 7389c34528 tighten formatting rules 2019-10-31 13:06:08 +01:00
Christian Grothoff 5e5dbf980d add tests for empty reply in HTTPS 2019-10-26 18:52:53 +02: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) 2c5033377f Spelling fixes 2019-05-21 17:57:04 +03:00
Christian Grothoff 6bb3796f50 fix FTBFS 2018-12-07 19:11:59 +01:00
Christian Grothoff 0eefd20ba3 add build option to compile MHD without threads 2018-12-07 12:40:40 +01:00
Christian Grothoff 7ade892317 clean up use of GNUTLS linker options in various places, re-add SAVE_LIBS restoration to configure.ac to avoid linking indiscriminately against GnuTLS 2018-09-11 15:11:53 +02:00
Christian Grothoff 832739556b some minor code cleaning issues 2018-06-22 15:16:11 +02:00
Christian Grothoff 5e0e6b15c4 fix leak in test on error path 2018-02-28 00:46:36 +01:00
Evgeny Grin (Karlson2k) 56077dce84 https tests: completely exclude 3DES from tests
as it considered as "unsafe" and could be disabled in libs
2017-12-07 16:03:15 +03:00
Evgeny Grin (Karlson2k) 249dbe3d33 https_tests: fixed typo in libcurl version number 2017-11-22 23:53:20 +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) fd7d712823 Fixed compiler warning 2017-11-15 15:36:12 +03:00
Evgeny Grin (Karlson2k) ff492e3700 testcurl/https/Makefile.am: moved headers to proper location 2017-11-15 15:32:58 +03:00
Evgeny Grin (Karlson2k) 5518c48aa5 test_https_session_info: silenced compiler warning. 2017-11-09 21:49:48 +03:00
Evgeny Grin (Karlson2k) ad6ad0ad5b HTTPS tests: disable 3DES testing on GnuTLS > 3.6.0 since it is disabled
by default in GnuTLS
2017-10-31 15:54:39 +03:00
Evgeny Grin (Karlson2k) d1d4e15a97 Stick to C89 standard for a while 2017-10-31 15:20:39 +03:00
Evgeny Grin (Karlson2k) 424abcd21d Additional compiler warnings fixes. 2017-10-31 11:19:24 +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
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) 6364c4700d Fixed HTTPS tests under Hurd 2017-06-19 23:57:01 +03:00
Evgeny Grin (Karlson2k) c7e815a806 Fixed possible null dereference in HTTPS test 2017-05-16 23:36:29 +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) 9d9a9a3f00 HTTPS tests: improved compatibility with some platforms/libcurl versions 2017-04-09 18:08:05 +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
Christian Grothoff 3ba8a0c8b9 convert 'thread_joined' to bool 2017-02-14 18:00:17 +01:00