|
|
cURL Mailing List Monthly Index Single Mail
curl-tracker mailing list Archives
[ curl-Bugs-2015126 ] poll gives WSAEINVAL when POLLPRI is set in fdset.events
From: SourceForge.net <noreply_at_sourceforge.net>
Date: Thu, 10 Jul 2008 16:42:06 +0000
Bugs item #2015126, was opened at 2008-07-10 14:51
Please note that this message will contain a full copy of the comment thread,
Initial Comment:
curl version: 7.18.2
Tried to build curl on VS 2005.
Setting following in setup.h fixes the problem:
The build uses Winsock 2.
The problem seems to be in Curl_socket_ready function.
The POLLPRI seems to have value 0x0400 at least
poll (WSAPoll) then returns WSAEINVAL.
According to following page, POLLPRI is not among values for events field:
My guess is that some windows update
Hope this helps...
----------------------------------------------------------------------
Comment By: Yang Tse (yangtse)
Message:
Yes, MS maps priority (out-of-band) data to POLLRDBAND.
Can you verify if this patch works for you ?
Index: select.h
----------------------------------------------------------------------
You can respond by visiting:
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info