Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-04-27 | Now uses Curl_ as prefix for internal global symbols. curl_ should only be | Daniel Stenberg | |
used for "exported" globals. | |||
2002-04-25 | In order to not get problems with DNS cache pruning, we no longer store | Daniel Stenberg | |
any name resolved data in any curl handle struct. That way, we won't mind if the cache entries are pruned for the next time we need them. We'll just resolve them again instead. This changes the Curl_resolv() proto. It modifies the SessionHandle struct but perhaps most importantly, it'll make the internals somewhat dependent on the DNS cache not being disabled as that will cripple operations somewhat. Especially for persistant connections. | |||
2002-04-23 | the 80 column police narrowed this source code! B-] | Daniel Stenberg | |
2002-04-22 | use sclose() to close sockets | Daniel Stenberg | |
2002-04-22 | Jacky Lam's adjust resolve-buffer size patch applied. Slightly edited | Daniel Stenberg | |
by Daniel. | |||
2002-04-19 | pack_hostent does not handle 64 bit pointers correctly. | Daniel Stenberg | |
A Bjørn Reese patch. | |||
2002-04-17 | Prune old hostcache entries with each call... | Sterling Hughes | |
This can be optimized a tidbit, but this is a start. | |||
2002-03-19 | copyright string (year) update | Daniel Stenberg | |
2002-03-15 | Jun-ichiro itojun Hagino <itojun@itojun.org>: | Daniel Stenberg | |
Now first check if IPv6 is supported, then use PF_UNSPEC. If not, use PF_INET. It'll solve both the "slow name lookup" problem on IPv4 and still work fine on IPv6 hosts. Bug report #530204 has more details: http://sourceforge.net/tracker/?func=detail&atid=100976&aid=530204&group_id=976 | |||
2002-03-15 | bug report #530204 correctly identified that revision 1.52 broke ipv6 | Daniel Stenberg | |
functionality and this change reverts this. However, with this revert we bring back problems on (some/all?) non-IPv6 enabled Linux machines that have getaddrinfo(). | |||
2002-02-20 | Nico Baggus' VMS tweaks | Daniel Stenberg | |
2002-02-18 | Rick Richardson's getaddrinfo() usage fix to speed up name resolves | Daniel Stenberg | |
2002-02-18 | INADDR_NONE should be in_addr_t to work with 64bit archs better. | Daniel Stenberg | |
Really, we should only #define this in one file, not both here and in connect.c! | |||
2002-01-31 | _num_chars did wrong when called with a number that starts with 1! | Daniel Stenberg | |
2002-01-28 | someone should have me punished, but this bug made curl bug seriously | Daniel Stenberg | |
on IPv4-linux machines | |||
2002-01-18 | prevents gcc -Wcast-align from complaining | Daniel Stenberg | |
2002-01-17 | include our own sprintf() prototype to make it return sensible data on | Daniel Stenberg | |
all platforms, I also edited a few data types slightly to prevent my compiler from warning on comparisions between signed and unsigned values | |||
2002-01-17 | Get this working, still need to check for leaks and such, but should be | Sterling Hughes | |
fine.. | |||
2002-01-17 | Make the keys for hostcache entries be in the format:: | Sterling Hughes | |
host:port, so accessing curl.haxx.se on port 80 would yield a key value of :: curl.haxx.se:80 | |||
2002-01-14 | a memory leak when name lookup failed is now removed | Daniel Stenberg | |
2002-01-08 | added two typecasts to prevent compiler (gcc3) warnings | Daniel Stenberg | |
2002-01-08 | 1) the dns_cache_timeout should be an integer, not a bool | Sterling Hughes | |
2) in the curl_dns_cache_entry structure, timestamp should be a time_t instead of an integer (although I doubt it matters). | |||
2002-01-08 | Add support for DNS cache timeouts via the CURLOPT_DNS_CACHE_TIMEOUT option. | Sterling Hughes | |
The default cache timeout for this is 60 seconds, which is arbitrary and completely subject to change :) | |||
2002-01-07 | Probably not necessary, but good practice. | Sterling Hughes | |
2002-01-07 | Make cach'ing work with threads now, there are now three cases: | Sterling Hughes | |
- 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 | |||
2002-01-03 | Sterling Hughes' provided initial DNS cache source code. | Daniel Stenberg | |
2002-01-02 | Philip Gladstone's 64-bit sparc native compiler compatibility issues fixed. | Daniel Stenberg | |
2001-12-04 | Eric's #include fixes for better macos compiles | Daniel Stenberg | |
2001-10-23 | pack_hostent() now aligns the data properly on 64bit boundaries to work on | Daniel Stenberg | |
more CPU architectures | |||
2001-10-17 | the malloc debug system only logs data if the logfile FILE * is set, which | Daniel Stenberg | |
makes it easier to disable debug output when built with debug functions | |||
2001-10-11 | looks nicer and is better compatible with older vim versions | Sterling Hughes | |
2001-10-04 | made sure the correct pieces of code are compiled on IPv4-only hosts, and | Daniel Stenberg | |
the pack_hostent() is only compiled if gethostbyname_r() isn't present. | |||
2001-10-04 | getaddrinfo() cleanups | Daniel Stenberg | |
2001-10-03 | Keith McGuigan's excellent fix that makes a cloned copy of the hostent struct | Daniel Stenberg | |
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. | |||
2001-09-28 | more ipv6 cleanups to make smaller functions that are easier to read | Daniel Stenberg | |
2001-09-28 | more transparant support for IPv6 name resolving | Daniel Stenberg | |
2001-09-12 | reverted. twas no memory leak and the "fix" didn't even compile on windows... | Daniel Stenberg | |
2001-09-12 | *TERRIBLE* terrible memory leak occuring on all systems that have no | Daniel Stenberg | |
gethostbyname_r() function, most notably windows machines... | |||
2001-09-07 | Added formatting sections for emacs and vim | Sterling Hughes | |
2001-08-30 | Major rename and redesign of the internal "backbone" structs. Details will | Daniel Stenberg | |
be posted in a minute to the libcurl list. | |||
2001-08-06 | Nico Baggus' VMS adjustments | Daniel Stenberg | |
2001-05-30 | finally fixed the 'ret' compiler warning | Daniel Stenberg | |
2001-02-05 | Jun-ichiro itojun Hagino's IPv6 adjustments | Daniel Stenberg | |
2001-01-05 | Internal symbols that aren't static are now prefixed with 'Curl_' | Daniel Stenberg | |
2001-01-03 | dual-license fix | Daniel Stenberg | |
2000-11-21 | GetHost() now sets the third pointer to NULL when the lookup fails, as the | Daniel Stenberg | |
memory is then freed in the function | |||
2000-11-21 | added comment on a variable that is unused on some platforms | Daniel Stenberg | |
2000-10-09 | added memory debugging include file | Daniel Stenberg | |
2000-10-08 | GetHost() did not properly assign the third argument pointer! | Daniel Stenberg | |
2000-09-29 | #include <malloc.h> was removed, it causes warnings on openbsd | Daniel Stenberg | |