diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-11-21 17:33:58 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-11-23 13:47:00 +0300 |
commit | 67b1cdc29dfb1f260e0d31df3121e01d8ecad027 (patch) | |
tree | 2ad6484e11340ebc5619c5d6dd7ee87437884f2c /src/testcurl/https/test_https_get_select.c | |
parent | b05555f8372fd848698d87133d8ed194820ede1e (diff) | |
download | libmicrohttpd-67b1cdc29dfb1f260e0d31df3121e01d8ecad027.tar.gz libmicrohttpd-67b1cdc29dfb1f260e0d31df3121e01d8ecad027.zip |
Tests: added use of MHD_USE_NO_THREAD_SAFETY flag
Diffstat (limited to 'src/testcurl/https/test_https_get_select.c')
-rw-r--r-- | src/testcurl/https/test_https_get_select.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testcurl/https/test_https_get_select.c b/src/testcurl/https/test_https_get_select.c index 1939ccff..8ce55e2c 100644 --- a/src/testcurl/https/test_https_get_select.c +++ b/src/testcurl/https/test_https_get_select.c | |||
@@ -278,7 +278,9 @@ main (int argc, char *const *argv) | |||
278 | #ifdef EPOLL_SUPPORT | 278 | #ifdef EPOLL_SUPPORT |
279 | errorCount += testExternalGet (MHD_USE_EPOLL); | 279 | errorCount += testExternalGet (MHD_USE_EPOLL); |
280 | #endif | 280 | #endif |
281 | errorCount += testExternalGet (0); | 281 | if (MHD_YES == MHD_is_feature_supported (MHD_FEATURE_THREADS)) |
282 | errorCount += testExternalGet (MHD_NO_FLAG); | ||
283 | errorCount += testExternalGet (MHD_USE_NO_THREAD_SAFETY); | ||
282 | curl_global_cleanup (); | 284 | curl_global_cleanup (); |
283 | if (errorCount != 0) | 285 | if (errorCount != 0) |
284 | fprintf (stderr, "Failed test: %s, error: %u.\n", argv[0], errorCount); | 286 | fprintf (stderr, "Failed test: %s, error: %u.\n", argv[0], errorCount); |