cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl 7.10.2 act much more slower than explorer in Mac OS 10.2, who know why?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 5 Dec 2002 12:14:02 +0100 (MET)

On Wed, 4 Dec 2002, wang yi wrote:

> I give libcurl a host name and it acts very slow at name lookup stage,
> after that I tried to feed libcurl with real IP address, but libcurl tried
> to reverse name lookup, still very very slow.
>
> I also noticed that the curl 7.7.2, which is built-in with Mac OS 10.2, act
> quite normally.
>
> Anyone have any clue about this?

AFAIK, this happens when you have libcurl compiled and built with IPv6
support (getaddrinfo). Try rebuilding libcurl with ./configure --diable-ipv6
and I believe it'll work better.

I'm of course *very* interested in finding out a way to figure out this
dynamicly and in runtime pick a faster option.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2002-12-05