aboutsummaryrefslogtreecommitdiff
path: root/ares/CHANGES
AgeCommit message (Collapse)Author
2010-01-28- Tommie Gannert pointed out a silly bug in ares_process_fd() since it didn'tDaniel Stenberg
check for broken connections like ares_process() did. Based on that, I merged the two functions into a single generic one with two front-ends.
2009-12-29Mention last changesYang Tse
2009-12-21- Ingmar Runge noticed that Windows config-win32.h configuration fileYang Tse
did not include a definition for HAVE_CLOSESOCKET which resulted in function close() being inappropriately used to close sockets.
2009-11-30start working on 1.7.1Daniel Stenberg
2009-11-26- Larry Lansing fixed ares_parse_srv_reply to properly parse repliesYang Tse
which might contain non-SRV answers, skipping over potential non-SRV ones such as CNAMEs.
2009-11-23Daniel wants upcoming release to be 1.7.0Yang Tse
2009-11-23Mention last changesYang Tse
2009-11-23- Mention other recent changesYang Tse
2009-11-23- Jakub Hrozek renamed addrttl and addr6ttl structs to ares_addrttl andYang Tse
ares_addr6ttl in order to prevent name space pollution, along with necessary changes to code base and man pages.This change does not break ABI, there is no need to recompile existing applications. But existing applications using these structs with the old name will need source code adjustments when recompiled using c-ares 1.6.1.
2009-11-23- Jakub Hrozek fixed more function prototypes in man pages to sync themYang Tse
with the ones declared in ares.h
2009-11-10Mention last changesYang Tse
2009-11-02Renamed c-ares setup.h to ares_setup.hYang Tse
2009-10-31Mention many changesYang Tse
2009-10-29Jakub Hrozek added ares_parse_txt_reply() for TXT parsingDaniel Stenberg
2009-10-23John Engelhart noticed an unreleased problem relative to a duplicateYang Tse
ARES_ECANCELLED error code value and missing error code description.
2009-10-07Overhauled ares__get_hostent()Yang Tse
- Fixing out of bounds memory overwrite triggered with malformed /etc/hosts file. - Improving parsing of /etc/hosts file. - Validating requested address family. - Ensuring that failures always return a NULL pointer. - Adjusting header inclusions.
2009-09-04- Jakub Hrozek added ares_parse_srv_reply() for SRV parsingDaniel Stenberg
2009-08-03- Timo Teras changed the reason code used in the resolve callback done whenDaniel Stenberg
ares_cancel() is used, to be ARES_ECANCELLED instead of ARES_ETIMEOUT to better allow the callback to know what's happening.
2009-08-03- Joshua Kwan fixed the init routine to fill in the defaults for stuff thatDaniel Stenberg
fails to get inited by other means. This fixes a case of when the c-ares init fails when internet access is fone.
2009-07-14renamed generated config.h to ares_config.h in order to avoid clashes when ↵Gunter Knauf
libcurl is used with other projects which also have a config.h.
2009-06-12Try to make more clear that --enable-curldebug has nothing to do with ↵Yang Tse
--enable-debug for this library.
2009-06-08mention last changesYang Tse
2009-05-26c-ares's --enable-curldebug configure option decoupled from c-ares's ↵Yang Tse
--enable-debug
2009-05-20Mention last changesYang Tse
2009-05-11- Gregor Jasny made c-ares link with libtool 's -export-symbols-regex option toDaniel Stenberg
only expose functions starting with ares_.
2009-05-02Use build-time configured ares_socklen_t instead of socklen_tYang Tse
2009-04-21Moved potential inclusion of system's malloc.h and memory.h header files toYang Tse
setup_once.h. Inclusion of each header file is based on the definition of NEED_MALLOC_H and NEED_MEMORY_H respectively.
2009-03-11s/u_long/unsigned long/Yang Tse
2009-02-20Do not halt compilation when using VS2008 to build a Windows 2000 targetYang Tse
2009-02-03* February 3 2009 (Phil Blundell)Phil Blundell
- If the server returns garbage or nothing at all in response to an AAAA query, go on and ask for A records anyway.
2009-01-31- ares_gethostbyname() now accepts 'AF_UNSPEC' as a family for resolvingDaniel Stenberg
either AF_INET6 or AF_INET. It works by accepting any of the looksups in the hosts file, and it resolves the AAAA field with a fallback to A.
2009-01-14- ares.h no longer uses the HAVE_STRUCT_IN6_ADDR define check, but instead itDaniel Stenberg
now declares the private struct ares_in6_addr for all systems instead of relying on one possibly not present in the system.
2009-01-13- ares__send_query() now varies the retry timeout pseudo-randomly to avoidPhil Blundell
packet storms when several queries were started at the same time.
2009-01-11- Phil Blundell added the internal function ares__expand_name_for_response()Daniel Stenberg
that is now used by the ares_parse_*_reply() functions instead of the ares_expand_name() simply to easier return ARES_EBADRESP for the cases where the name expansion fails as in responses that really isn't expected.
2008-12-09Fix for Win32 targets using Watt-32.Gisle Vanem
2008-12-04Gregor Jasny provided the patch that introduces ares_set_socket_callback(),Daniel Stenberg
and I edited it to also get duped by ares_dup().
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.