cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problems with curl_multi_fdset on macosx

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 31 Dec 2004 10:19:24 +0100 (CET)

On Wed, 29 Dec 2004, Tobias Rundström wrote:

(I would suggest you use the libcurl mailing list for libcurl issues, CC'ed
this reply there!)

> We use curl in XMMS2 for http media streaming, I have encountered a problem
> with it on macosx (not confirmed / denyed on any other oses). When I use
> curl_multi_fdset to retrieve the fdsets it seems to always return something
> for the fdset even if I got the HTTP header (sent the request). So now I
> have to work around it. The sympton was that select always returned and
> busywaited my application, I don't see this behaviour in Linux.
>
> If you want to see the code it's here [1] and remember that this has the
> quite ugly workaround for now and the shoutcast metaint makes the code by
> default ugly ;-).

What versions did you use on the respective platforms?

I personally cannot comment on this, as I have never seen this reported by
anyone and I don't have (access to) a Mac OS X machine to try anything on.

--
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-12-31