cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Slow DNS lookups compared to wget

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 19 Feb 2002 00:12:10 +0100 (MET)

On Mon, 18 Feb 2002, Rick Richardson wrote:

> BTW, if I change hints.ai_family in the test program from PF_UNSPEC to
> AF_INET, then getaddrinfo() runs like the wind. Here are the times for the
> two ways.

Thanks a lot for all your work on this.

Let's just switch over to PF_INET (it seems it actually should be a PF_XXX
value even though the AF_XXX is the same ;-)) and be happy with that. I
figure the "theoretical" support for other protocol families can be left out
for now.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-02-19