Commit Graph
32 Commits
Author SHA1 Message Date
Evgeny Grin (Karlson2k) fdf0ea88ac test_https_time_out: use better sleep function 2021-12-12 20:51:29 +03:00
Evgeny Grin (Karlson2k) 141a8e702c test_https_time_out: additional fixes
Fixed possible abort on SIGPIPE.
Avoid meaningless test results reports (-1 was mapped to unsigned value).
Check GnuTLS functions results.
Correctly initialize GnuTLS session.
2021-12-12 20:51:29 +03:00
Evgeny Grin (Karlson2k) 54e83ba5ee test_https_time_out: fixed test, now testing is real 2021-12-12 20:51:28 +03:00
Evgeny Grin (Karlson2k) 993fd001ab test_https_time_out: fixed broken check
The old check "send () == 0" was always wrong. send() never returns zero.
As a result, the test checks nothing.
2021-12-12 20:39:09 +03:00
Evgeny Grin (Karlson2k) 9ce7aa953a Style and shadowing fixes 2021-04-13 20:42:49 +03: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) 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) 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 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) 50bbf74d4e Moved sockets abstraction to specialized mhd_socket.h/.c files 2016-08-23 20:12:50 +00:00
Christian Grothoff 58b30e7e5e fix #3926: ignore close() errors other than EBADF 2015-08-02 17:11:48 +00:00
Christian Grothoff a85f2baa9d fix #3869: outdated FSF address 2015-06-30 11:39:18 +00:00
Christian Grothoff b7ab035907 -fix warning 2015-05-30 19:32:27 +00:00
Christian Grothoff 10cf14317c -bringing copyright tags up to FSF standard 2015-02-07 23:12:45 +00:00
Christian Grothoff 2964021746 -fix warning 2014-04-10 07:49:43 +00:00
Evgeny Grin (Karlson2k) 6d51e1f0e8 minor MHD_socket/int fixes 2014-03-24 21:18:47 +00:00
Christian Grothoff 143fa3f305 -dce 2014-03-05 18:50:54 +00:00
Evgeny Grin (Karlson2k) 8b28e693b2 add sleep() and usleep() replacement for W32 2014-02-18 18:39:31 +00:00
Evgeny Grin (Karlson2k) b7dabd9efb remove inet_pton() from tests, use real IPv6 loopback for test 2014-02-18 18:39:10 +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 a2425da6f9 proper gcrypt thread initialization in tests 2013-09-15 20:22:40 +00:00
Christian Grothoff d86385c9b4 -nitpicks in tests 2013-09-06 11:44:22 +00:00
Christian Grothoff 155fcf546f -renaming for consistency 2013-03-29 16:16:02 +00:00