Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-05-17 | if shrinking the buffer fails, use the older larger one | Daniel Stenberg | |
2004-05-11 | curl_global_init_mem() allows the memory functions to be replaced. | Daniel Stenberg | |
memory.h is included everywhere for this. | |||
2004-05-04 | improved the cleaning up of memory when we fail to resolve names due to | Daniel Stenberg | |
out of memory (thanks to 'runtests.pl -t') | |||
2004-04-26 | Made defines instead of plain numbers for the Curl_resolv() return code to | Daniel Stenberg | |
make the code easier to read | |||
2004-04-26 | Major hostip.c cleanup and split into multiple files and easier #ifdef | Daniel Stenberg | |
usage. | |||
2004-04-23 | Gisle Vanem found and fixed a memory leak when doing (failing) Windows | Daniel Stenberg | |
threaded name resolves. | |||
2004-04-21 | include unistd.h as well for the close() proto on some platforms (like Tru64) | Daniel Stenberg | |
2004-04-20 | cleanup leftovers | Daniel Stenberg | |
2004-04-14 | asking for CURL_IPRESOLVE_V6 when ipv6 addresses can't be resolved will | Daniel Stenberg | |
now cause the resolve function to return NULL immediately | |||
2004-04-14 | Curl_wait_for_resolv() could hang due to the bad timeout timer resolution and | Daniel Stenberg | |
some bad thinking on my part. | |||
2004-04-13 | Gisle Vanem's fix that makes the multi interface work on Windows again even | Daniel Stenberg | |
when not using ares. | |||
2004-04-12 | somewhat safer typecasting in case sizeof(long) != sizeof(void *) (is there | Daniel Stenberg | |
even such platforms?) | |||
2004-04-06 | the pack_hostent() proto isn't used/needed with ipv6 is enabled. | Daniel Stenberg | |
time to restructure this source file! | |||
2004-04-06 | Gisle Vanem's fix for bug item #927979 reported by Nathan O'Sullivan. | Daniel Stenberg | |
Good enough? | |||
2004-04-01 | Dirk Manske's fix that makes sure we cancel the ares resolve when we time out | Daniel Stenberg | |
from a name resolve. Without this, we leak memory! | |||
2004-04-01 | removed my previously attempted fix for ares timeouts, not needed | Daniel Stenberg | |
2004-03-31 | Roy Shan fixed a case that prevented ares name resolve timeouts to occur. | Daniel Stenberg | |
2004-03-31 | Remove the elapsed time from the most recent select() only. | Daniel Stenberg | |
2004-03-31 | The asynch name resolve methods now all use CURL_TIMEOUT_RESOLVE for | Daniel Stenberg | |
the specific time to wait for a resolve. The definition is at the top of this source file. | |||
2004-03-31 | Dirk Manske found out the Curl_wait_for_resolv() timed out too early. | Daniel Stenberg | |
2004-03-30 | Lots of comments added an clarified. Added timeout for the ares version | Daniel Stenberg | |
of Curl_is_resolved() to address Roy Shan's reported problem. | |||
2004-03-29 | The select() timeout is better not static since some implementation actually | Daniel Stenberg | |
might change it. I don't *think* it does it when the timeout is 0,0 but it is better to be sure... | |||
2004-03-17 | Günter Knauf's NetWare changes. | Daniel Stenberg | |
2004-03-10 | store times in time_t | Daniel Stenberg | |
2004-03-09 | only build with the windows threading trace code if | Daniel Stenberg | |
DEBUG_THREADING_GETHOSTBYNAME is defined | |||
2004-03-03 | tv_sec is an int, so we explicitly typecast the result of long - long to | Daniel Stenberg | |
an int when we assign it. | |||
2004-02-23 | use size_t to keep strlen() results | Daniel Stenberg | |
2004-02-23 | simplied how create_hostcache_id() is used, and also its function somewhat | Daniel Stenberg | |
cleared up some ssize_t/size_t mixups | |||
2004-02-20 | Gisle Vanem brings name resolving timeout possibilities to windows people. | Daniel Stenberg | |
This works by magicly starting up a new thread that can be killed when the timeout is reached. testtesttest! | |||
2004-02-18 | No longer uses the 'ret' variable in the plain ipv4-version of | Daniel Stenberg | |
my_getaddrinfo() (caused a warning by the IRIX MIPSPro compiler). Also clarified the situation for the 3-arg version of gethostbyname_r() with a huge comment. | |||
2004-02-18 | Make sure dns cache timeout -1 really means forever, as it is documented to | Daniel Stenberg | |
be. Simply skip the pruning. | |||
2004-02-16 | Make the 'areschannel' get created in the curl_easy_init() and re-use that | Daniel Stenberg | |
same channel during the whole curl handle's life until curl_easy_cleanup(). | |||
2004-02-15 | Mark the dns entry 'inuse' properly even when used from the cache. This | Daniel Stenberg | |
seems to correct some host cache screw-ups I could reproduce. | |||
2004-02-12 | Make hostcache_fixoffset() take a long for offset, to fully work with 64bit | Daniel Stenberg | |
archs, also no longer typecast pointers to ints as that is a nono on 64bit systems. | |||
2004-02-05 | hide the pack_hostent proto if ipv6 is enabled, as figured out by Tor Arntsen | Daniel Stenberg | |
2004-02-02 | adjusted to the modified ares_strerror() function | Daniel Stenberg | |
NOTE that this breaks ares-compatibility, we have now officially taken the turn into the c-ares path. We will now officially depend on c-ares for asynch name resolves. | |||
2004-02-02 | Dirk Manske fixed the ares usage even more. We could get a timeout from ares | Daniel Stenberg | |
as well, and when failing and not getting a timeout we now include the error message ares can provide us with. | |||
2004-02-02 | Timeout slow ares name lookups. This is based on the patch brought by | Daniel Stenberg | |
Dirk Manske, but modified by me. | |||
2004-01-14 | fixed the Curl_resolv()'s return code when the looked up host was already | Daniel Stenberg | |
in the cache (Vincent Bronner) | |||
2004-01-07 | updated year in the copyright string | Daniel Stenberg | |
2003-12-15 | added a library-wide interface for doing dns cache pruning, and no longer | Daniel Stenberg | |
make the pruning at each name lookup, only in Curl_done(). | |||
2003-12-15 | if Curl_hash_add() returns NULL, we shall not free the addrinfo field as that | Daniel Stenberg | |
is made in the hash function in the case of failure (using the already setup 'dtor' function). | |||
2003-12-03 | Steve Green fixed Curl_resolv() | Daniel Stenberg | |
2003-11-15 | do ares_destroy() on the ares handle when we're done in Curl_is_resolved() | Daniel Stenberg | |
2003-11-14 | Siddhartha Prakash Jain found a case with a bad resolve that we didn't | Daniel Stenberg | |
properly bail out from, when using ares. | |||
2003-10-28 | Another glibc resolve name fix | Daniel Stenberg | |
2003-10-24 | better bailing-out cleanup if a malloc fails in the DNS cache | Daniel Stenberg | |
2003-10-20 | lock the DNS cache properly before adding an entry when using asynch DNS | Daniel Stenberg | |
2003-10-14 | Gisle Vanem's IPv6-on-Windows patch applied! | Daniel Stenberg | |
2003-10-12 | Dirk Manske made the share-locking around DNS lookups a bit "looser" so that | Daniel Stenberg | |
multiple DNS lookups can run simultaneously faster. The downside is that resolving the same host name now can be made at once from multiple threads, but the upside is that threads now don't alwys have to wait for the others' resolves. Test case 506 updated accordingly. |