cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: cURL on Windows with _WIN32_WINNT=0x0600 suffers from WSAPoll bug

From: Jan Koen Annot <Jan-Koen.Annot_at_infor.com>
Date: Tue, 14 Aug 2012 12:47:21 +0000

On Tuesday, August 07, 2012, Daniel Stenberg wrote:

> On Fri, 3 Aug 2012, Jan Koen Annot wrote:
>
> > 2.1 Remove the usage of WSAPoll (see file select.h of the curl library
> > source code; I am using curl-7.26.0)
>
> I thus suggest a patch as attached. Any objections from anyone?

I agree, this is exactly what I meant.
I think this is better than my suggestion 2.2, which was:
> 2.2 Work around the bug in WSAPoll, for example by using short timeouts only and calling getsockopt(SO_ERROR) explicitly for sockets for which WSAPoll doesn't signal activity.

Jan Koen Annot

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-14