cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: multihomed connections

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 8 Jun 2004 23:43:30 +0200 (CEST)

On Tue, 8 Jun 2004, Gisle Vanem wrote:

> The fix to 'curl url1 url2' where url1 fails, is easy:

Ah, I didn't even notice that we talked about that. I agree that aborting
completely on a failed URL might be silly. I'll apply your patch.

> The other "bug" in libcurl is not a bug at all, but rather inconsitent
> behaviour depending on which resolver is used.

...

> Okay, the "refused" came from the last IP. Using tcpdump, I see curl tries
> the addresses in the above order. But with a C-ares version, the result is
> "timed out". Since the last IP it tried was 10.221.110.1.

Ok, I guess we can and should live with the different resolvers reporting back
errors slightly different.

> It would be nice if libcurl could tell us all the IP it tried and the result
> of each failed attempt.

I think I agree. You have any patch doing this?

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