curl-users
Re: make test hanging on Cygwin
Date: Sat, 12 Nov 2005 23:55:12 +0100 (CET)
On Sun, 13 Nov 2005, Eugene Kotlyarov wrote:
> Further investigating shows that problem is with cygwin poll function it
> doesn't signal that there is data after connection is closed from other
> side. If undefine HAVE_POLL_FINE tests also work.
Ah, very good research! I now made configure choose select() on cygwin (as was
already done for Mac OS X)
> I'll try to ask Cygwin developers, about such behaviour of poll.
Please do. I found some interesting pages on this topic. A few showed that
other projects already have abandoned cygwin's poll() in preference to
select() and then I found this summary:
http://www.greenend.org.uk/rjk/2001/06/poll.html
... indicating that we should check for POLLHUP as well as POLLIN, and then
cygwin's poll should work. Can you check this?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-11-13