aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/perf_get_concurrent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/perf_get_concurrent.c')
-rw-r--r--src/testcurl/perf_get_concurrent.c20
1 files changed, 11 insertions, 9 deletions
diff --git a/src/testcurl/perf_get_concurrent.c b/src/testcurl/perf_get_concurrent.c
index 1e7e6d62..ee3717f0 100644
--- a/src/testcurl/perf_get_concurrent.c
+++ b/src/testcurl/perf_get_concurrent.c
@@ -347,15 +347,17 @@ main (int argc, char *const *argv)
347 errorCount += testMultithreadedGet (port++, 0); 347 errorCount += testMultithreadedGet (port++, 0);
348 errorCount += testMultithreadedPoolGet (port++, 0); 348 errorCount += testMultithreadedPoolGet (port++, 0);
349 errorCount += testExternalGet (port++); 349 errorCount += testExternalGet (port++);
350#ifndef WINDOWS 350 if (MHD_YES == MHD_is_feature_supported(MHD_FEATURE_POLL))
351 errorCount += testInternalGet (port++, MHD_USE_POLL); 351 {
352 errorCount += testMultithreadedGet (port++, MHD_USE_POLL); 352 errorCount += testInternalGet (port++, MHD_USE_POLL);
353 errorCount += testMultithreadedPoolGet (port++, MHD_USE_POLL); 353 errorCount += testMultithreadedGet (port++, MHD_USE_POLL);
354#endif 354 errorCount += testMultithreadedPoolGet (port++, MHD_USE_POLL);
355#if EPOLL_SUPPORT 355 }
356 errorCount += testInternalGet (port++, MHD_USE_EPOLL_LINUX_ONLY); 356 if (MHD_YES == MHD_is_feature_supported(MHD_FEATURE_EPOLL))
357 errorCount += testMultithreadedPoolGet (port++, MHD_USE_EPOLL_LINUX_ONLY); 357 {
358#endif 358 errorCount += testInternalGet (port++, MHD_USE_EPOLL_LINUX_ONLY);
359 errorCount += testMultithreadedPoolGet (port++, MHD_USE_EPOLL_LINUX_ONLY);
360 }
359 MHD_destroy_response (response); 361 MHD_destroy_response (response);
360 if (errorCount != 0) 362 if (errorCount != 0)
361 fprintf (stderr, "Error (code: %u)\n", errorCount); 363 fprintf (stderr, "Error (code: %u)\n", errorCount);