Commit Graph
31 Commits
Author SHA1 Message Date
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) cba8e9f23e tests: fixed case-insensitive match for method name 2021-09-22 21:03:22 +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) 6d7f0a8f54 Fixed and muted compiler warnings 2020-12-23 22:40:59 +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 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) 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) 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) 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) 28f723b238 Silenced compiler warnings in src/testcurl/https, minor fixes. 2017-10-30 23:37:44 +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
Christian Grothoff 3ba8a0c8b9 convert 'thread_joined' to bool 2017-02-14 18:00:17 +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
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 ef7fe75ff2 deprecate USE_SSL for USE_TLS, rename in code 2016-10-11 16:09:17 +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
Christian Grothoff 015495e471 -removing whitespace 2013-11-17 15:52:01 +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 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