Age | Commit message (Collapse) | Author |
|
|
|
|
|
2) in the curl_dns_cache_entry structure, timestamp should be
a time_t instead of an integer (although I doubt it matters).
|
|
The default cache timeout for this is 60 seconds, which is arbitrary and
completely subject to change :)
|
|
|
|
- Use a global dns cache (via setting the tentatively named,
CURLOPT_DNS_USE_GLOBAL_CACHE option to true)
- Use a per-handle dns cache, by default
- Use a pooled dns cache when in the "multi" interface
|
|
|
|
|
|
|
|
more CPU architectures
|
|
makes it easier to disable debug output when built with debug functions
|
|
|
|
the pack_hostent() is only compiled if gethostbyname_r() isn't present.
|
|
|
|
for when gethostbyname() is used so that we have the memory of the struct
allocated. This turns out to be needed if the curl handled is passed between
threads on Windows and possibly other operating systems where we use that
function.
|
|
|
|
|
|
|
|
gethostbyname_r() function, most notably windows machines...
|
|
|
|
be posted in a minute to the libcurl list.
|
|
|
|
|
|
|
|
|
|
|
|
memory is then freed in the function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the AIX-style as well. The AIX-stuff is *NOT* verified to work.
|
|
|
|
|
|
|
|
|
|
|