curl-users
Re: make test hanging on Cygwin
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 13 Nov 2005 10:26:44 +0100 (CET)
Date: Sun, 13 Nov 2005 10:26:44 +0100 (CET)
On Sun, 13 Nov 2005, Eugene Kotlyarov wrote:
> Yes indeed, adding check for POLLHUP in addition to POLLIN also makes tests
> work.
>
> It seems that cygwin poll in this regard is only compatible with one old
> version of linux, so I've send patch to Cygwin list to make it return both
> POLLHUP and POLLIN.
Thanks for verifying this. I reverted my configure patch from yesterday (that
made it pick select() on cygwin) and instead made Curl_select() check for
POLLHUP as well, as that should then make it work nicely in cygwin.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-11-13