aboutsummaryrefslogtreecommitdiff
path: root/ares/CHANGES
AgeCommit message (Collapse)Author
2008-07-03- Phil Blundell: If you ask ares_gethostbyname() to do an AF_INET6 lookup andDaniel Stenberg
the target host has only A records, it automatically falls back to an AF_INET lookup and gives you the A results. However, if the target host has a CNAME record, this behaviour is defeated since the original query does return some data even though ares_parse_aaa_reply() doesn't consider it relevant. Here's a small patch to make it behave the same with and without the CNAME.
2008-07-02fallback to gettimeofday when monotonic clock is unavailable at run-timeYang Tse
2008-06-30- As was pointed out to me by Andreas Schuldei, the MAXHOSTNAMELEN define isDaniel Stenberg
not posix or anything and thus c-ares failed to build on hurd (and possibly elsewhere). The define was also somewhat artificially used in the windows port. Now, I instead rewrote the use of gethostbyname to enlarge the host name buffer in case of need and totally avoid the use of the MAXHOSTNAMELEN define. I thus also removed the defien from the namser.h file where it was once added for the windows build. I also fixed init_by_defaults() function to not leak memory in case if error.
2008-06-09fix pkg-config reporting of private libraries needed for static linkingYang Tse
2008-05-30Brad House fixed a missing header file inclusion in adig sample programYang Tse
2008-05-291.5.2Daniel Stenberg
2008-05-13- Introducing millisecond resolution support for the timeout option. SeeDaniel Stenberg
ares_init_options()'s ARES_OPT_TIMEOUTMS.
2008-05-09Use monotonic time source if available.Yang Tse
2008-05-07- Sebastian made c-ares able to return all PTR-records when doing reverseDaniel Stenberg
lookups. It is not common practice to have multiple PTR-Records for a single IP, but its perfectly legal and some sites have those.
2008-05-07- Doug Goldstein provided a configure patch: updates autoconf 2.13 usage toDaniel Stenberg
autoconf 2.57 usage (which is the version you have specified as the minimum version). It's a minor change but it does clean up some warnings with newer autoconf (specifically 2.62).
2008-05-05Improved parsing of resolver configuration filesYang Tse
2008-04-04- Alexey Simak fixed the VC dsp file by adding the missing source fileDaniel Stenberg
ares_expand_string.c
2008-04-04Alexey Simak made adig support NAPTR recordsDaniel Stenberg
2008-04-04Eino Tuominen improved the code when a file is used to seed the randomizerDaniel Stenberg
2007-12-11Added acountry.c.Gisle Vanem
2007-12-03 Erik Kline cleaned up ares_gethostbyaddr.c:next_lookup() somewhatDaniel Stenberg
2007-12-03Brad Spencer fixed the configure script to assume that there's noDaniel Stenberg
/dev/urandom when built cross-compiled as then the script cannot check for it.
2007-11-21and we start on 1.5.2!Daniel Stenberg
2007-11-21changeDaniel Stenberg
2007-10-02Avoid a segfault when generating a DNS "Transaction ID" in internalYang Tse
function init_id_key() under low memory conditions.
2007-10-01ares_strerror() segfaulted if the input error number was out of the currentlyDaniel Stenberg
supported range.
2007-09-28today's modifications by Steinar and meDaniel Stenberg
2007-09-22Steinar H. Gunderson fixed: Correctly clear sockets from the fd_set on inDaniel Stenberg
several functions (write_tcp_data, read_tcp_data, read_udp_packets) so that if it fails and the socket is closed the following code doesn't try to use the file descriptor.
2007-09-22Steinar H. Gunderson modified c-ares to now also do to DNS retries even whenDaniel Stenberg
TCP is used since there are several edge cases where it still makes sense.
2007-09-22Brad House provided a fix for ares_save_options(): Apparently I overlookedDaniel Stenberg
something with the ares_save_options() where it would try to do a malloc(0) when no options of that type needed to be saved. On most platforms, this was fine because malloc(0) doesn't actually return NULL, but on AIX it does, so ares_save_options would return ARES_ENOMEM.
2007-07-14added Vlad's entire description of his valgrind fixDaniel Stenberg
2007-07-14Vlad Dinulescu fixed two outstanding valgrind reportsDaniel Stenberg
2007-06-081.4.0 prepsDaniel Stenberg
2007-06-05the revertDaniel Stenberg
2007-06-02Brad Spencer found and fixed three flaws in the code, found with the newDaniel Stenberg
gcc 4.2.0 warning: -Waddress
2007-06-02Brad House fixed VS2005 compiler warnings due to time_t being 64bit.Daniel Stenberg
He also made recent Microsoft compilers use _strdup() instead of strdup().
2007-06-02Ashish Sharma provided a patch for supporting multiple entries in theDaniel Stenberg
/etc/hosts file. Patch edited for coding style and functionality by me (Daniel).
2007-05-30Shmulik Regev brought cryptographically secure transaction IDsDaniel Stenberg
2007-05-30Brad House added ares_save_options() and ares_destroy_options() that can beDaniel Stenberg
used to keep options for later re-usal when ares_init_options() is used.
2007-05-30added ares_process_fd() to allow applications to ask for processing onDaniel Stenberg
specific sockets and thus avoiding select() and associated functions/macros. This function will be used by upcoming libcurl releases for this very reason. It also made me export the ares_socket_t type in the public ares.h header file, since ares_process_fd() uses that type for two of the arguments.
2007-05-25Ravi Pratap fixed a flaw in the init_by_resolv_conf() function for windowsDaniel Stenberg
that could cause it to return a bad return code.
2007-04-16ares_getopt() command-line parser function does not belong to actualYang Tse
c-ares library. It is just a convinience source code helper function for use in example programs adig.c and ahost.c
2007-02-19Vlad Dinulescu added ares_parse_ns_reply()Daniel Stenberg
2007-02-13Fix c-ares failing to get the search sequence of /etc/hosts andYang Tse
DNS from /etc/nsswitch.conf, /etc/host.conf or /etc/svc.conf when /etc/resolv.conf did not exist or was unable to read it.
2006-11-22Michael Wallner fixed this problem: When I set domains in the optionsDaniel Stenberg
struct, and there are domain/search entries in /etc/resolv.conf, the domains of the options struct will be overridden.
2006-11-22Install ares_dns.h tooDaniel Stenberg
2006-11-06avoid a couple of potential zero size memory allocationsYang Tse
2006-11-05mention the areslib.dsp fixDaniel Stenberg
2006-11-03stand clear for release 1.3.2Daniel Stenberg
2006-10-13Prevent ares_getsock() to overflow if more than 16 sockets are used.Daniel Stenberg
2006-09-11- Guilherme Balena Versiani: I noted a strange BUG in Win32 portDaniel Stenberg
(ares_init.c/get_iphlpapi_dns_info() function): when I disable the network by hand or disconnect the network cable in Windows 2000 or Windows XP, my application gets 127.0.0.1 as the only name server. The problem comes from 'GetNetworkParams' function, that returns the empty string "" as the only name server in that case. Moreover, the Windows implementation of inet_addr() returns INADDR_LOOPBACK instead of INADDR_NONE.
2006-08-29Brad Spencer didDaniel Stenberg
o made ares_version.h use extern "C" for c++ compilers o fixed compiler warnings in ares_getnameinfo.c o fixed a buffer position init for TCP reads
2006-08-03Ravi Pratap fixed ares_getsock() to actually return the proper bitmap andDaniel Stenberg
not always zero!
2006-07-23Added getopt() processing.Gisle Vanem
2006-06-241.3.1Daniel Stenberg