aboutsummaryrefslogtreecommitdiff
path: root/ares
AgeCommit message (Collapse)Author
2005-06-19Added some checks for the addrinfo structure.Dominick Meglio
2005-06-03FIONBIO is in sys/ioctl.h on AIXDaniel Stenberg
2005-06-02sigh, define TRUE if not alreadyDaniel Stenberg
2005-06-02William Ahern:Daniel Stenberg
Make UDP sockets non-blocking. I've confirmed that at least on Linux 2.4 a read event can come back from poll() on a valid SOCK_DGRAM socket but recv(2) will still block. This patch doesn't ignore EAGAIN in read_udp_packets(), though maybe it should. (This patch was edited by Daniel Stenberg and a new configure test was added (imported from curl's configure) to properly detect what non-blocking socket approach to use.)
2005-06-02William Ahern:Daniel Stenberg
I'm not quite sure how this was happening, but I've been seeing PTR queries which seem to return empty responses. At least, they were empty when calling ares_expand_name() on the record. Here's a patch which guarantees to NUL-terminate the expanded name. The old behavior failed to NUL-terminate if len was 0, and this was causing strlen() to run past the end of the buffer after calling ares_expand_name() and getting ARES_SUCCESS as the return value. If q is not greater than *s then it's equal and *s is always allocated with at least one byte.
2005-05-17More of the sameDominick Meglio
2005-05-17More compiler warning cleanupsDominick Meglio
2005-05-16Made ares_free_hostent man page refer to ares_parse_aaaa_replyDominick Meglio
2005-05-16Cleaned up some compile warningsDominick Meglio
2005-05-16Added ares_getnameinfo which mimics the getnameinfo APIDominick Meglio
2005-05-15Converted some macros to use NS_* so they work on non-IPv6 systemsDominick Meglio
2005-05-15Forgot to ares_-ize inet_ntopDominick Meglio
2005-05-14replaced the CRLF newlines with plain LF onesDaniel Stenberg
2005-05-14Added an inet_ntop function from BIND for systems that do not have itDominick Meglio
2005-05-11prevent NS_IN6ADDRSZ from getting set to zero if the struct doesn't existDaniel Stenberg
2005-05-02the new functions and the upcoming ipv6 calls for the next version to becomeDaniel Stenberg
1.3.0
2005-04-23fix for recent changes.Gunter Knauf
2005-04-22Fixed for Mac OS X builds based on excellent feedback from Heinz Stockinger.Daniel Stenberg
2005-04-22changes for building with IPV6.Gunter Knauf
2005-04-21added missing headersDaniel Stenberg
2005-04-19indented source to look more like other ares code,Daniel Stenberg
added (somewhat ugly) typecasts to build warning-free on 64bit platforms (the result of a (char *) - (char *) cannot be stored in an int universally)
2005-04-19sortlist_alloc() is never used on win32, so ifdef out it to prevent warningDaniel Stenberg
2005-04-16avoid warning on windowsDaniel Stenberg
2005-04-15add needed includeDaniel Stenberg
2005-04-15Attempted to fix c-ares not building on non-IPv6 systemsDominick Meglio
2005-04-13Allow environment variables to override default autotools.Dan Fandrich
2005-04-11creditsDaniel Stenberg
2005-04-09Removed usage of u_int and u_charDominick Meglio
2005-04-09Made sortlist support IPv6 (this can probably use some testing)Dominick Meglio
2005-04-09Made sortlist support CIDR matching for IPv4Dominick Meglio
2005-04-08Added preliminary IPv6 support to ares_gethostbynameDominick Meglio
2005-04-08Added include for inet_net_pton.h to ares__get_hostent.cDominick Meglio
2005-04-08Made ares_gethostbyaddr support IPv6 by specifying AF_INET6 as the familyDominick Meglio
2005-04-08include sys/types.h too when checking for headers as otherwise this breaksDaniel Stenberg
on Solaris and FreeBSD. At least.
2005-04-07Try harder to see if arpa/nameser_compat.h REALLY is a good header file toDaniel Stenberg
include, as it seems at least some AIX versions don't really allow it to be include at the same time as the original nameser.h.
2005-04-06Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OSDaniel Stenberg
X.
2005-04-06better errno constant replacements, as mentioned by Gisle VanemDaniel Stenberg
2005-04-06Include inet_net_pton.h for 'struct in6_addr'. Ideally thisGisle Vanem
should come from <ws2tcpip.h>, but Winsock 1.1 should suffice.
2005-04-06Moved inet_net_pton.h to HHEADERS.Gisle Vanem
2005-04-06check for struct sizes and use those sizes if the NS_* defines are lackingDaniel Stenberg
(IRIX 6.5.22 it seems)
2005-04-06moved the *_inet_pton protos to inet_net_pton.h insteadDaniel Stenberg
2005-04-06made the ares_inet_net_pton() proto use size_t size, as the function in theDaniel Stenberg
code uses that
2005-04-05with these changes, it builds on my win32 cross-compilerDaniel Stenberg
2005-04-05check for another arpa headerDaniel Stenberg
2005-04-05check for the arpa/* headersDaniel Stenberg
2005-04-05Provided implementations of inet_net_pton and inet_pton from BIND for ↵Dominick Meglio
systems that do not include these functions. These will be necessary for CIDR support and IPv6 support.
2005-03-31Updated the copyright year since changes have been this year.Daniel Stenberg
2005-03-22CURL_EXTERN is already in <curl/curl.h>.Gisle Vanem
2005-03-22Prevent redefinition warning with CURLDEBUG.Gisle Vanem
2005-03-21the same fix here too, typecast to prevent win32 compiler warningDaniel Stenberg