68 Commits (892329862bb7d9d2514f2055f9939a8364321ea9)

Author SHA1 Message Date
David Drysdale f1bcfa1122 api: Allow injection of user-specified malloc/free functions 9 years ago
David Drysdale 52c9bc57bd ares_gethostbyname: don't leak valid-but-empty hostent 9 years ago
Jakub Hrozek c1fe47f6d9 host_callback: Fall back to AF_INET on searching with AF_UNSPEC 11 years ago
Daniel Stenberg cf7ad9758d ares_inet_pton/ntop: cleanup 12 years ago
Daniel Stenberg 2a3a63ae1f ares__bitncmp: use two underscores for private functions 12 years ago
Yang Tse 0c677f578e setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h> 12 years ago
Yang Tse a1035276c1 Header inclusion clean-up 12 years ago
Yang Tse 14eb79f660 warnings: fix some 'conversion may lose significant bits' compiler warnings 14 years ago
Jakub Hrozek bb4096effe Only fall back to AF_INET searches when looking for AF_UNSPEC addresses 14 years ago
Jakub Hrozek 159b82c056 Revert "Only fall back to AF_INET searches when looking for AF_UNSPEC addresses" 14 years ago
Jakub Hrozek b5823d6570 Only fall back to AF_INET searches when looking for AF_UNSPEC addresses 14 years ago
Yang Tse 5e5c0132e6 renamed getplatform() to ares__getplatform() to avoid namespace pollution 14 years ago
Yang Tse 5b6a188909 build: move platform stuff to ares_platform.c and ares_platform.h 14 years ago
Yang Tse bd066ab8ef build: find out windows platform using GetVersionEx() 14 years ago
Daniel Stenberg 0e8dc6f18e style: make code less than 80 columns wide 15 years ago
Daniel Stenberg 63627fa5ab remove all $Id$ lines 15 years ago
Yang Tse e51156c080 removed usage of 's6_addr', fixing compilation issue triggered with no 15 years ago
Yang Tse 8fe746fcf2 Added IPv6 name servers support 15 years ago
Yang Tse a82a8fbf82 Renamed c-ares setup.h to ares_setup.h 15 years ago
Steinar H. Gunderson cef560e871 Support lookup of IPv4 literals in ares_gethostbyname(), even when the address family is set to AF_INET6. 16 years ago
Yang Tse 737707bf4b fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value 16 years ago
Phil Blundell 3f7fc80ab5 * February 3 2009 (Phil Blundell) 16 years ago
Daniel Stenberg 1ce8e6583e - ares_gethostbyname() now accepts 'AF_UNSPEC' as a family for resolving 16 years ago
Gisle Vanem f94afa4fdc Constified some arguments in local functions. 16 years ago
Yang Tse aa1534eb20 In preparation for the upcomming IPv6 nameservers patch, the internal 16 years ago
Daniel Stenberg acf5ca090a use unsigned short better intead of mixing with ints to prevent compiler 16 years ago
Daniel Stenberg 8a6b51d560 - Brad Spencer brought the new function ares_gethostbyname_file() which simply 16 years ago
Yang Tse f214b583f5 adjust inclusion of "nameser.h" 16 years ago
Yang Tse f2582d6949 include header file only when available 16 years ago
Yang Tse 2cb5cbba34 move inclusion of ares_private.h last 16 years ago
Daniel Stenberg 93e7573628 - Phil Blundell: If you ask ares_gethostbyname() to do an AF_INET6 lookup and 17 years ago
Daniel Stenberg 7829b79768 check for strings.h in configure and use it for the strcasecmp() proto 17 years ago
Yang Tse c73ff0391f fix compiler warning: local variable may be used without having been initialized 17 years ago
Daniel Stenberg ba5bd647f9 fix next_lookup() to continue searching even if c-ares failed to load the 17 years ago
Steinar H. Gunderson d9dd239771 When looking up in DNS and then in the hosts file, return the error code from DNS if both fail, instead of returning the error code from the hosts file, as today. Patch from the Google tree. 17 years ago
Steinar H. Gunderson b4bdb6d4d7 Return TTL data from ares_parse_{a,aaaa}_reply, if the user is so inclined. Patch from the Google tree. 17 years ago
Daniel Stenberg 338d59bd0b Fixed the problem where next_lookup would use 'status' uninitialized. Now 17 years ago
Steinar H. Gunderson 879f89a989 Fix a memory leak that I recently inadvertedly introduced. 17 years ago
Steinar H. Gunderson 60519063ea Use ISDIGIT instead of isdigit; fixes a gcc warning. 17 years ago
Steinar H. Gunderson cccd9a58cd Be stricter about what's a valid IP address in fake_hostent. (Patch from the Google tree.) 17 years ago
Steinar H. Gunderson 3b5e49995f Unrevert previous 'missing' hunks. They were missing since the patch is still in for review :-) 17 years ago
Steinar H. Gunderson f785dbd9c4 Yet more missing hunks... Nggh. 17 years ago
Steinar H. Gunderson 50ba81cd23 Make the query callbacks return the number of timeouts that happened during the execution of a query, and update documentation accordingly. (Patch from the Google tree.) 17 years ago
Daniel Stenberg 9089e0c26c Revered Ashish Sharma's multiple entries patch, as it caused memory madness 18 years ago
Daniel Stenberg 4e27354b82 Ashish Sharma provided a patch for supporting multiple entries in the 18 years ago
Gisle Vanem a627160041 Removed inclusion of <sys/types.h> in .c-files 18 years ago
Yang Tse 679a675660 add debug messages for initialization failures 18 years ago
Yang Tse 3c90d9d6d3 fix compiler warning "discards qualifiers from pointer target type" in debug builds 18 years ago
Gisle Vanem 415e2ae109 Fixed comment. 19 years ago
Gisle Vanem 0a83c1e416 2nd try adding CVS id. 19 years ago