aboutsummaryrefslogtreecommitdiff
path: root/ares/CHANGES
AgeCommit message (Collapse)Author
2008-12-03Introduce ares_dup(3) and new thoughts about API/ABI and how to move forwards.Daniel Stenberg
Also discussed on the ml.
2008-11-26Gerald Combs fixed a bug in ares_parse_ptr_reply() which would cause aYang Tse
buffer to shrink instead of expand if a reply contained 8 or more records.
2008-11-26Brad Spencer provided changes to allow buildconf to work on OS X.Yang Tse
2008-11-25In preparation for the upcomming IPv6 nameservers patch, the internalYang Tse
ares_addr union is now changed into an internal struct which also holds the address family.
2008-11-19- Brad Spencer brought the new function ares_gethostbyname_file() which simplyDaniel Stenberg
resolves a host name from the given file, using the regular hosts syntax.
2008-11-01- Carlo Contavalli added support for the glibc "rotate" option, as documentedDaniel Stenberg
in man resolv.conf: causes round robin selection of nameservers from among those listed. This has the effect of spreading the query load among all listed servers, rather than having all clients try the first listed server first every time. You can enable it with ARES_OPT_ROTATE
2008-10-21Charles Hardin patch:Yang Tse
- handles the EINPROGRESS for UDP connects - uses closesocket instead of close on some paths that were noticed
2008-10-17Charles Hardin made adig support a regular numerical dotted IP address for theDaniel Stenberg
-s option as well.
2008-10-07Sync up with realityYang Tse
2008-09-17Sync up with realityYang Tse
2008-08-29Version 1.5.3Daniel Stenberg
2008-08-25George Neill's fix acountry sample application compilation failure.Yang Tse
2008-08-25Brad House's validation that DNS response address matches the request addressYang Tse
2008-08-04- Fix by Tofu Linden:Daniel Stenberg
The symptom: * Users (usually, but not always) on 2-Wire routers and the Comcast service and a wired connection to their router would find that the second and subsequent DNS lookups from fresh processes using c-ares to resolve the same address would cause the process to never see a reply (it keeps polling for around 1m15s before giving up). The repro: * On such a machine (and yeah, it took us a lot of QA to find the systems that reproduce such a specific problem!), do 'ahost www.secondlife.com', then do it again. The first process's lookup will work, subsequent lookups will time-out and fail. The cause: * init_id_key() was calling randomize_key() *before* it initialized key->state, meaning that the randomness generated by randomize_key() is immediately overwritten with deterministic values. (/dev/urandom was also being read incorrectly in the c-ares version we were using, but this was fixed in a later version.) * This makes the stream of generated query-IDs from any new c-ares process be an identical and predictable sequence of IDs. * This makes the 2-Wire's default built-in DNS server detect these queries as probable-duplicates and (erroneously) not respond at all.
2008-08-04Autoconf 2.62 has changed the behaviour of the AC_AIX macro which we use.Yang Tse
Prior versions of autoconf defined _ALL_SOURCE if _AIX was defined. But, autoconf 2.62 version of AC_AIX defines _ALL_SOURCE along with other four preprocessor symbols no matter if the system is AIX or not. To keep the traditional behaviour, as well as an uniform one, across autoconf versions AC_AIX is replaced with our own internal macro.
2008-08-01Sync up with realityYang Tse
2008-07-21when recvfrom prototype uses a void pointer for arguments 2, 5 or 6 this willYang Tse
now cause the definition of RECVFROM_TYPE_ARG2_IS_VOID, RECVFROM_TYPE_ARG5_IS_VOID or RECVFROM_TYPE_ARG6_IS_VOID, as appropriate.
2008-07-17RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now definedYang Tse
to the data type pointed by its respective argument and not the pointer type.
2008-07-16Configure process now checks availability of recvfrom() socket function andYang Tse
finds out its return type and the types of its arguments. Added definitions for non-configure systems config files, and introduced macro sreadfrom which will be used on udp sockets as a recvfrom() wrapper.
2008-07-16Improved configure detection of number of arguments for getservbyport_rYang Tse
2008-07-15Allow --enable-largefile and --disable-largefile configurations.Yang Tse
Configure process no longer needs nor checks size of curl_off_t. Library will now be built with _REENTRANT symbol defined.
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