[Top][All Lists]

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

Re: url-retrieve may cause hang

From: David Reitter
Subject: Re: url-retrieve may cause hang
Date: Tue, 17 Oct 2006 18:48:16 +0100

On 17 Oct 2006, at 15:57, Magnus Henoch wrote:

I have attached my first attempt.  There are two problems with it:

Your patch works fine for my error case.

- DNS lookups are still synchronous.  It seems we would need an
  external library like GNU adns for that.

It seems like I'm getting an instant error when the firewall is configured to delay/swallow UDP packets - which is good.

- There is no protocol for letting the callback know that retrieval
  failed.  Without this patch, the caller would immediately get an

Yes, signaling in your sentinel is not a good idea, as it would be difficult (impossible?) to catch the error from outside.

Thanks again for reacting so quickly, and apologies that I did not report this earlier.

reply via email to

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