Commit Graph
200 Commits
Author SHA1 Message Date
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
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
Evgeny Grin (Karlson2k) a48ca85fb7 Renamed daemon flags:
MHD_USE_SELECT_INTERNALLY -> MHD_USE_INTERNAL_POLLING_THREAD
MHD_USE_POLL_INTERNALLY -> MHD_USE_POLL_INTERNAL_THREAD
MHD_USE_EPOLL_INTERNALLY -> MHD_USE_EPOLL_INTERNAL_THREAD
2016-11-08 00:54:59 +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
Evgeny Grin (Karlson2k) a8948d201b Refactored mhd_locks.h and mhd_sockets.h: allow usage of macros without
aborting of execution.
2016-10-11 15:20:40 +00:00
Christian Grothoff 4acefd453f simplify error handling by baking it into the macros 2016-09-22 09:25:18 +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) 50bbf74d4e Moved sockets abstraction to specialized mhd_socket.h/.c files 2016-08-23 20:12:50 +00:00
Evgeny Grin (Karlson2k) 0d1e59bc6e Added .gitignore 2016-07-28 15:15:52 +00:00