aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.c
AgeCommit message (Expand)Author
2004-05-17if shrinking the buffer fails, use the older larger oneDaniel Stenberg
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
2004-05-04improved the cleaning up of memory when we fail to resolve names due toDaniel Stenberg
2004-04-26Made defines instead of plain numbers for the Curl_resolv() return code toDaniel Stenberg
2004-04-26Major hostip.c cleanup and split into multiple files and easier #ifdefDaniel Stenberg
2004-04-23 Gisle Vanem found and fixed a memory leak when doing (failing) WindowsDaniel Stenberg
2004-04-21include unistd.h as well for the close() proto on some platforms (like Tru64)Daniel Stenberg
2004-04-20cleanup leftoversDaniel Stenberg
2004-04-14asking for CURL_IPRESOLVE_V6 when ipv6 addresses can't be resolved willDaniel Stenberg
2004-04-14Curl_wait_for_resolv() could hang due to the bad timeout timer resolution andDaniel Stenberg
2004-04-13Gisle Vanem's fix that makes the multi interface work on Windows again evenDaniel Stenberg
2004-04-12somewhat safer typecasting in case sizeof(long) != sizeof(void *) (is thereDaniel Stenberg
2004-04-06the pack_hostent() proto isn't used/needed with ipv6 is enabled.Daniel Stenberg
2004-04-06Gisle Vanem's fix for bug item #927979 reported by Nathan O'Sullivan.Daniel Stenberg
2004-04-01Dirk Manske's fix that makes sure we cancel the ares resolve when we time outDaniel Stenberg
2004-04-01removed my previously attempted fix for ares timeouts, not neededDaniel Stenberg
2004-03-31Roy Shan fixed a case that prevented ares name resolve timeouts to occur.Daniel Stenberg
2004-03-31Remove the elapsed time from the most recent select() only.Daniel Stenberg
2004-03-31The asynch name resolve methods now all use CURL_TIMEOUT_RESOLVE forDaniel Stenberg
2004-03-31Dirk Manske found out the Curl_wait_for_resolv() timed out too early.Daniel Stenberg
2004-03-30Lots of comments added an clarified. Added timeout for the ares versionDaniel Stenberg
2004-03-29The select() timeout is better not static since some implementation actuallyDaniel Stenberg
2004-03-17Günter Knauf's NetWare changes.Daniel Stenberg
2004-03-10store times in time_tDaniel Stenberg
2004-03-09only build with the windows threading trace code ifDaniel Stenberg
2004-03-03tv_sec is an int, so we explicitly typecast the result of long - long toDaniel Stenberg
2004-02-23use size_t to keep strlen() resultsDaniel Stenberg
2004-02-23simplied how create_hostcache_id() is used, and also its function somewhatDaniel Stenberg
2004-02-20Gisle Vanem brings name resolving timeout possibilities to windows people.Daniel Stenberg
2004-02-18No longer uses the 'ret' variable in the plain ipv4-version ofDaniel Stenberg
2004-02-18Make sure dns cache timeout -1 really means forever, as it is documented toDaniel Stenberg
2004-02-16Make the 'areschannel' get created in the curl_easy_init() and re-use thatDaniel Stenberg
2004-02-15Mark the dns entry 'inuse' properly even when used from the cache. ThisDaniel Stenberg
2004-02-12Make hostcache_fixoffset() take a long for offset, to fully work with 64bitDaniel Stenberg
2004-02-05hide the pack_hostent proto if ipv6 is enabled, as figured out by Tor ArntsenDaniel Stenberg
2004-02-02adjusted to the modified ares_strerror() functionDaniel Stenberg
2004-02-02Dirk Manske fixed the ares usage even more. We could get a timeout from aresDaniel Stenberg
2004-02-02Timeout slow ares name lookups. This is based on the patch brought byDaniel Stenberg
2004-01-14fixed the Curl_resolv()'s return code when the looked up host was alreadyDaniel Stenberg
2004-01-07updated year in the copyright stringDaniel Stenberg
2003-12-15added a library-wide interface for doing dns cache pruning, and no longerDaniel Stenberg
2003-12-15if Curl_hash_add() returns NULL, we shall not free the addrinfo field as thatDaniel Stenberg
2003-12-03Steve Green fixed Curl_resolv()Daniel Stenberg
2003-11-15do ares_destroy() on the ares handle when we're done in Curl_is_resolved()Daniel Stenberg
2003-11-14Siddhartha Prakash Jain found a case with a bad resolve that we didn'tDaniel Stenberg
2003-10-28Another glibc resolve name fixDaniel Stenberg
2003-10-24better bailing-out cleanup if a malloc fails in the DNS cacheDaniel Stenberg
2003-10-20lock the DNS cache properly before adding an entry when using asynch DNSDaniel Stenberg
2003-10-14Gisle Vanem's IPv6-on-Windows patch applied!Daniel Stenberg
2003-10-12Dirk Manske made the share-locking around DNS lookups a bit "looser" so thatDaniel Stenberg