Age | Commit message (Collapse) | Author |
|
|
|
|
|
Really, we should only #define this in one file, not both here and in
connect.c!
|
|
|
|
on IPv4-linux machines
|
|
|
|
all platforms, I also edited a few data types slightly to prevent my
compiler from warning on comparisions between signed and unsigned values
|
|
fine..
|
|
host:port, so accessing curl.haxx.se on port 80 would yield a key value
of ::
curl.haxx.se:80
|
|
|
|
|
|
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.
|
|
|
|
|
|
|