cURL / Mailing Lists / curl-library / Single Mail


Re: Curl/LibCurl compiled on OS X without --disable-ipv6 is really slow

From: Dan Fandrich <>
Date: Wed, 24 Dec 2003 07:13:58 -0800

On Wed, Dec 24, 2003 at 02:47:40AM -0800, Jacob Swed wrote:
> > "without --disable-ipv6" mean?
> It means when running the Configure script we did not specify the
> --disable-ipv6 option.
> Unfortunately, our test servers are internal and our customers are
> accessing Microsoft Exchange with our products so that isn't an option
> either. However, any hostname will do, but a good example is actually
> to pass a non-existent IP address.
> Here are a couple example, in both cases latest Curl run from the cmd
> line. It was compiled and run on OS 10.2.8. Also, does
> not exist on our network.
> With IPv6 Enabled:
> "" name lookup took: 1.964 seconds
> "" name lookup took: 22.632 seconds
> With IPv6 Disabled:
> "" name lookup took: 0.003 seconds
> "" name lookup took: 0.001 seconds

Did you try running your tests in the opposite order, i.e. running the
IPv6 disabled version first? Local name caching may be having an effect
on the results, making the second run appear faster.

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
This email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now!
Received on 2003-12-24