]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib1564.c: enable last wakeup test part on Windows
authorMarc Hoersken <info@marc-hoersken.de>
Thu, 25 Feb 2021 21:18:46 +0000 (22:18 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Wed, 21 Apr 2021 18:32:33 +0000 (20:32 +0200)
Suggested-by: Gergely Nagy
Reviewed-by: Jay Satiro
Reviewed-by: Marcel Raad
Closes #6245

tests/libtest/lib1564.c

index 8e76e098fb97d3a68d63d58a0433652d668f5db5..90e08b6c2e8286dd65dee604e768815ccc6f126e 100644 (file)
@@ -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: