Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-06-26 | use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditions | Daniel Stenberg | |
2003-05-20 | Gisle Vanem's code for not trusting h_aliases to always be non-NULL | Daniel Stenberg | |
2003-05-13 | Setup and use CURL_INADDR_NONE all over instead of INADDR_NONE. We setup | Daniel Stenberg | |
the define accordingly in the hostip.h header to work nicely all over. | |||
2003-04-03 | spell fix | Daniel Stenberg | |
2003-03-19 | typecast the conversion from const char * to char * | Daniel Stenberg | |
2003-03-03 | AIX 4.3 or later should use gethostbyname() and not the *_r() version. | Daniel Stenberg | |
2003-02-04 | added the sharing of DNS cache | Jean-Philippe Barette-LaPierre | |
2003-01-29 | removed the local variables for emacs and vim, use the new sample.emacs | Daniel Stenberg | |
way for emacs, and vim users should provide a similar non-polluting style | |||
2003-01-16 | copyright year update in the source header | Daniel Stenberg | |
2002-12-16 | EAGAIN on older (correct) glibc versions indicate a problem and not the need | Daniel Stenberg | |
for a bigger buffer and this is indeed badness for us. Making this work on both old and new glibc versions require an ugly loop that in its worse form cause 45 bad loops when using the correct glibc and a non-resolving host name... :-/ We want a better fix. Badly. | |||
2002-11-26 | fixed Curl_freeaddrinfo() to only free addrinfo, and added Curl_freednsinfo() | Daniel Stenberg | |
for freeing single dns cache entries | |||
2002-11-11 | The test for DNS cache entries left locked is now only built if | Daniel Stenberg | |
AGGRESIVE_TEST is also defined, as an addition to MALLOCDEBUG. It doesn't work for multi interface usage and should only be used with careful consideration. | |||
2002-11-05 | Curl_resolv() now returns a different struct, and it contains a reference | Daniel Stenberg | |
counter so that the caller needs to decrease that counter when done with the returned data. If compiled with MALLOCDEBUG I've added some extra checking that the counter is decreased before a handle is closed etc. | |||
2002-10-31 | Disable the DNS cache (by setting the timeout to 0) made libcurl leak | Daniel Stenberg | |
memory. Avery Fay brought the example code that proved this. | |||
2002-10-21 | glibc 2.2.93 gethostbyname_r() no longer returns ERANGE if the given buffer | Daniel Stenberg | |
size isn't big enough. For some reason they now return EAGAIN. Redhat 8 ships with this glibc version. | |||
2002-09-30 | Cris Bailiff found this flaw, gethostbyname_r() on linux returns 0 even | Daniel Stenberg | |
when it can't lookup the name (at least in some cases) and thus we need to make an extra check to detect failures. | |||
2002-09-03 | updated source code boilerplate/header | Daniel Stenberg | |
2002-08-30 | prevent compiler warning | Daniel Stenberg | |
2002-08-08 | attempted hpux fix for resolves | Daniel Stenberg | |
2002-06-26 | Glen Nakamura made his fix look even better! | Daniel Stenberg | |
2002-06-26 | Glen Nakamura's patch for Curl_getaddrinfo(). | Daniel Stenberg | |
2002-06-11 | Now uses sigsetjmp() and siglongjmp() to bail out from slow name lookups in | Daniel Stenberg | |
case a timeout is set. This seems to work. God knows if it is good enough or what kind of side-effects we introduce here and now. I'll close my eyes and cross my fingers. Hard. | |||
2002-06-10 | getaddrinfo() failures now show port number too in informational output | Daniel Stenberg | |
2002-06-05 | hostcache_fixoffset() is now corrected to work on 64bit architectures | Daniel Stenberg | |
Bug report #564585. | |||
2002-05-17 | Fixes bug report #556930 - we need to make sure that the data is all right | Daniel Stenberg | |
after we've realloc() the packed hostent struct. | |||
2002-05-01 | Jacky Lam's fix to make the realloc() of the hostent data work properly | Daniel Stenberg | |
even when the realloc() actually gets a new memory block | |||
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 | |