bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
* poll: add comment
@ 2019-06-30 12:49 Bruno Haible
  0 siblings, 0 replies; only message in thread
From: Bruno Haible @ 2019-06-30 12:49 UTC (permalink / raw)
  To: bug-gnulib

2019-06-30  Bruno Haible  <bruno@clisp.org>

	poll: Add comment.
	* lib/poll.c: Add comment about WSAPoll.

diff --git a/lib/poll.c b/lib/poll.c
index f6de24c..5d9150c 100644
--- a/lib/poll.c
+++ b/lib/poll.c
@@ -76,6 +76,13 @@
 
 #ifdef WINDOWS_NATIVE
 
+/* Do *not* use the function WSAPoll
+   <https://docs.microsoft.com/en-us/windows/desktop/api/winsock2/nf-winsock2-wsapoll>
+   because there is a bug named “Windows 8 Bugs 309411 - WSAPoll does not
+   report failed connections” that Microsoft won't fix.
+   See Daniel Stenberg: "WASPoll is broken"
+   <https://daniel.haxx.se/blog/2012/10/10/wsapoll-is-broken/>.  */
+
 /* Here we need the recv() function from Windows, that takes a SOCKET as
    first argument, not any possible gnulib override.  */
 # undef recv



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-30 12:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-30 12:49 poll: add comment Bruno Haible

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).