[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Patch: fix gnash being unable to download anything with

From: Hans de Goede
Subject: Re: [Gnash-dev] Patch: fix gnash being unable to download anything with newer libcurl versions
Date: Tue, 05 Oct 2010 09:31:25 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100806 Fedora/3.1.2-1.fc13 Thunderbird/3.1.2


On 10/03/2010 09:16 PM, Rob Savoye wrote:
On 08/27/2010 02:56 AM, Hans de Goede wrote:

So I did some debugging and found at that there is a bad interaction
between gnash and the latest libcurl, the attached
gnash-0.8.8-new-libcurl.patch fixes this.

The problem is that newer libcurl versions (atleast 7.21.x) return -1
for maxfd from curl_multi_fdset while they are doing dns resolving. This
gets combined with a short (7ms) return value from curl_multi_timeout
indicating that the thread / caller should just sleep a bit and then retry.

   I fixed this a better way, as we do want to check the value of max_fd
for problems. I filed an official bug report on this for Gnash, which
contains my latest patch: With
this patch, Gnash works with the very latest libcurl as well as the
older one. Please test attached the patch, if it's good for you, I'll
check it in.

I can confirm the new patch fixes this as well. Also I believe that
this patch:

Fixes the problem of select never returning except on timeout which
I also was seeing.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]