diff options
author | Daniel Stenberg <daniel@haxx.se> | 2009-11-11 09:31:37 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2009-11-11 09:31:37 +0000 |
commit | fb5f332834baeee1c9ec27dee6fc065364d5b7f3 (patch) | |
tree | cfa2d2f34fcc4201edb86088664c9aacbdfd2016 /lib/hostip.h | |
parent | 107c4d878abea8940cae85bc9d330c13481ea634 (diff) | |
download | curl-fb5f332834baeee1c9ec27dee6fc065364d5b7f3.tar.gz |
- Constantine Sapuntzakis posted bug #2891595
(http://curl.haxx.se/bug/view.cgi?id=2891595) which identified how an entry
in the DNS cache would linger too long if the request that added it was in
use that long. He also provided the patch that now makes libcurl capable of
still doing a request while the DNS hash entry may get timed out.
Diffstat (limited to 'lib/hostip.h')
-rw-r--r-- | lib/hostip.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/hostip.h b/lib/hostip.h index 8b6bb76fb..b6aef623a 100644 --- a/lib/hostip.h +++ b/lib/hostip.h @@ -121,6 +121,8 @@ void Curl_global_host_cache_dtor(void); struct Curl_dns_entry { Curl_addrinfo *addr; + /* timestamp == 0 -- entry not in hostcache + timestamp != 0 -- entry is in hostcache */ time_t timestamp; long inuse; /* use-counter, make very sure you decrease this when you're done using the address you received */ |