cURL / Mailing Lists / curl-library / Single Mail


Re: multihomed connections

From: Daniel Stenberg <>
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

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 -- --
      Dedicated custom curl help for hire:
Received on 2004-06-08