From: Marc Hoersken Date: Thu, 25 Feb 2021 21:18:46 +0000 (+0100) Subject: lib1564.c: enable last wakeup test part on Windows X-Git-Tag: curl-7_77_0~157 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2df64390b3031f7219b5dc5d21f9e64aea5a7c13;p=thirdparty%2Fcurl.git lib1564.c: enable last wakeup test part on Windows Suggested-by: Gergely Nagy Reviewed-by: Jay Satiro Reviewed-by: Marcel Raad Closes #6245 --- diff --git a/tests/libtest/lib1564.c b/tests/libtest/lib1564.c index 8e76e098fb..90e08b6c2e 100644 --- a/tests/libtest/lib1564.c +++ b/tests/libtest/lib1564.c @@ -109,15 +109,7 @@ int test(char *URL) abort_on_test_timeout(); -#if !defined(WIN32) && !defined(_WIN32) && !defined(__WIN32__) \ - && !defined(__CYGWIN__) - /* Even lots of previous wakeups should not wake up this. - - On Windows (particularly when using MinGW), the socketpair - used for curl_multi_wakeup() is really asynchronous, - meaning when it's called a lot, it can take some time - before all of the data can be read. Sometimes it can wake - up more than one curl_multi_poll() call. */ + /* Even lots of previous wakeups should not wake up this. */ time_before_wait = tutil_tvnow(); multi_poll(multi, NULL, 0, 1000, &numfds); @@ -131,7 +123,6 @@ int test(char *URL) } abort_on_test_timeout(); -#endif test_cleanup: