cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-2991177 ] curl does not fallback to A records when ipv6 connectionfail

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Fri, 14 May 2010 20:16:02 +0000

Bugs item #2991177, was opened at 2010-04-23 03:30
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2991177&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: name resolving/DNS
Group: wrong behaviour
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Cristian Rodriguez (judas_iscariote)
Assigned to: Daniel Stenberg (bagder)
Summary: curl does not fallback to A records when ipv6 connectionfail

Initial Comment:
curl -7.20.1
libcares 1.7.1

$curl http://tclers.tk
curl: (7) Failed to connect to 2002:3e70:9ee8::1001: Network is unreachable

I would expect curl to try the DNS records in turn until one succeeds and only
error out when all of them failed. (at least have the same behaviour that without c-ares)

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2010-05-14 22:16

Message:
No response and this is really a bug in c-ares so this bug is now closed.

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2010-04-23 22:36

Message:
This is more a (known) bug in c-ares than in libcurl, as it should most
likely be the responsibility of the resolver to resolve BOTH ipv4 and ipv6
names, similar to getaddrinfo() does.

libcurl _could_ of course be made to work around this c-ares limitation,
but to me it seems better to put that effort into the resolver code instead
to the benefit of more applications and users.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=2991177&group_id=976
Received on 2010-05-14

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET