cURL / Mailing Lists / curl-library / Single Mail

curl-library

caching name resolved info?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 1 Nov 2001 14:24:28 +0100 (MET)

Hey experts!

What would be the pros and cons for libcurl to cache/store name info for
already resolved host names? The most common case when this would be used is
for repeated requests to the same host where persistant connections couldn't
be used (for which reasons doesn't really matter).

Today, when libcurl is about to make a second request to the same host, it
resolves the host name again before it re-connects.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-11-01