cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: is there a way to limit the count of concurrent DNS query(multi, c-ares)?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 22 Nov 2006 13:57:17 +0100 (CET)

On Wed, 22 Nov 2006, Sun Yi-Ming wrote:

> 1. Is there a way to limit the count of concurrent DNS query?

No, but I'll be open for such additions to libcurl.

> 2. Is it decent to add easy_setopt options to set the addr_info after set
> url, so the easy handle can use that addr directly without bothering the DNS
> cache or services? dosn't matter this easy handle is in multi pool or not?

No, that's exactly what the DNS cache is supposed to be (used) for!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-11-22