cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem resolving localhost with IPv6 disabled

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 10 Mar 2012 23:38:06 +0100 (CET)

On Thu, 8 Mar 2012, Maxim Prohorov wrote:

> I've only recently switched from 7.23.1 to 7.24.0 and discovered strange
> issue when accessing localhost

> After searching a bit, the issue seems to be caused by two calls to c-ares
> where it successfully returns two results for localhost - ::1 and 127.0.0.1
> Curl tries to access ::1 first, which silently fails cause of disabled ipv6.

I don't have any development machine easily accessible without IPv6 support.
Any chance you can dig in and debug a little on what exactly fails in the
c-ares layer?

Did you also upgrade c-ares or only libcurl? It so feels like a c-ares
problem...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-03-10