libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit cd6bc2777ca8c9d10b9563ba4034ae5443776f14
parent dad819b72a827fa27ad4f0c26d573892efdb504f
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon,  9 Jul 2012 11:42:11 +0000

-LRN: no poll on mingw32

Diffstat:
Msrc/testcurl/daemontest_get.c | 2++
Msrc/testcurl/perf_get.c | 2++
Msrc/testcurl/perf_get_concurrent.c | 2++
Msrc/testcurl/test_start_stop.c | 2++
4 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/testcurl/daemontest_get.c b/src/testcurl/daemontest_get.c @@ -499,11 +499,13 @@ main (int argc, char *const *argv) errorCount += testUnknownPortGet (0); errorCount += testStopRace (0); errorCount += testExternalGet (); +#if !WINDOWS errorCount += testInternalGet (MHD_USE_POLL); errorCount += testMultithreadedGet (MHD_USE_POLL); errorCount += testMultithreadedPoolGet (MHD_USE_POLL); errorCount += testUnknownPortGet (MHD_USE_POLL); errorCount += testStopRace (MHD_USE_POLL); +#endif if (errorCount != 0) fprintf (stderr, "Error (code: %u)\n", errorCount); curl_global_cleanup (); diff --git a/src/testcurl/perf_get.c b/src/testcurl/perf_get.c @@ -493,9 +493,11 @@ main (int argc, char *const *argv) errorCount += testMultithreadedGet (port++, 0); errorCount += testMultithreadedPoolGet (port++, 0); errorCount += testExternalGet (port++); +#if !WINDOWS errorCount += testInternalGet (port++, MHD_USE_POLL); errorCount += testMultithreadedGet (port++, MHD_USE_POLL); errorCount += testMultithreadedPoolGet (port++, MHD_USE_POLL); +#endif MHD_destroy_response (response); if (errorCount != 0) fprintf (stderr, "Error (code: %u)\n", errorCount); diff --git a/src/testcurl/perf_get_concurrent.c b/src/testcurl/perf_get_concurrent.c @@ -331,9 +331,11 @@ main (int argc, char *const *argv) errorCount += testMultithreadedGet (port++, 0); errorCount += testMultithreadedPoolGet (port++, 0); errorCount += testExternalGet (port++); +#if !WINDOWS errorCount += testInternalGet (port++, MHD_USE_POLL); errorCount += testMultithreadedGet (port++, MHD_USE_POLL); errorCount += testMultithreadedPoolGet (port++, MHD_USE_POLL); +#endif MHD_destroy_response (response); if (errorCount != 0) fprintf (stderr, "Error (code: %u)\n", errorCount); diff --git a/src/testcurl/test_start_stop.c b/src/testcurl/test_start_stop.c @@ -105,9 +105,11 @@ main (int argc, char *const *argv) errorCount += testMultithreadedGet (0); errorCount += testMultithreadedPoolGet (0); errorCount += testExternalGet (); +#if !WINDOWS errorCount += testInternalGet (MHD_USE_POLL); errorCount += testMultithreadedGet (MHD_USE_POLL); errorCount += testMultithreadedPoolGet (MHD_USE_POLL); +#endif if (errorCount != 0) fprintf (stderr, "Error (code: %u)\n", errorCount); return errorCount != 0; /* 0 == pass */