2004-04-01 10:25:58 +02:00
|
|
|
|
Changelog for the c-ares project
|
|
|
|
|
|
2006-06-24 20:29:18 +02:00
|
|
|
|
Version 1.3.1 (June 24, 2006)
|
|
|
|
|
|
2006-06-19 08:41:55 +02:00
|
|
|
|
* June 19, 2006
|
|
|
|
|
|
|
|
|
|
- (wahern) Removed "big endian" DNS section and RR data integer parser
|
|
|
|
|
macros from ares_dns.h, which break c-ares on my Sparc64. Bit-wise
|
|
|
|
|
operations in C operate on logical values. And in any event the octets are
|
|
|
|
|
already in big-endian (aka network) byte order so they're being reversed
|
|
|
|
|
(thus the source of the breakage).
|
|
|
|
|
|
2006-06-19 03:18:05 +02:00
|
|
|
|
* June 18, 2006
|
|
|
|
|
|
|
|
|
|
- William Ahern handles EAGAIN/EWOULDBLOCK errors in most of the I/O calls
|
|
|
|
|
from area_process.c.
|
|
|
|
|
|
|
|
|
|
TODO: Handle one last EAGAIN for a UDP socket send(2) in
|
|
|
|
|
ares__send_query().
|
|
|
|
|
|
2006-05-10 10:03:54 +02:00
|
|
|
|
* May 10, 2006
|
|
|
|
|
|
|
|
|
|
- Bram Matthys brought my attention to a libtool peculiarity where detecting
|
|
|
|
|
things such as C++ compiler actually is a bad thing and since we don't need
|
|
|
|
|
that detection I added a work-around, much inspired by a previous patch by
|
|
|
|
|
Paolo Bonzini. This also shortens the configure script quite a lot.
|
|
|
|
|
|
2006-05-03 08:11:44 +02:00
|
|
|
|
* May 3, 2006
|
|
|
|
|
|
|
|
|
|
- Nick Mathewson added the ARES_OPT_SOCK_STATE_CB option that when set makes
|
|
|
|
|
c-ares call a callback on socket state changes. A better way than the
|
|
|
|
|
ares_getsock() to get full control over the socket state.
|
|
|
|
|
|
2006-01-09 09:31:48 +01:00
|
|
|
|
* January 9, 2006
|
|
|
|
|
|
|
|
|
|
- Alexander Lazic improved the getservbyport_r() configure check.
|
|
|
|
|
|
2006-01-06 23:59:34 +01:00
|
|
|
|
* January 6, 2006
|
|
|
|
|
|
|
|
|
|
- Alexander Lazic pointed out that the buildconf should use the ACLOCAL_FLAGS
|
|
|
|
|
variable for easier controlling what it does and how it runs.
|
|
|
|
|
|
2006-01-05 08:57:32 +01:00
|
|
|
|
* January 5, 2006
|
|
|
|
|
|
|
|
|
|
- James Bursa fixed c-ares to find the hosts file on RISC OS, and made it
|
|
|
|
|
build with newer gcc versions that no longer defines "riscos".
|
|
|
|
|
|
2005-12-22 16:29:12 +01:00
|
|
|
|
* December 22
|
|
|
|
|
|
|
|
|
|
- Daniel Stenberg added ares_getsock() that extracts the set of sockets to
|
|
|
|
|
wait for action on. Similar to ares_fds() but not restricted to using
|
|
|
|
|
select() for the waiting.
|
|
|
|
|
|
2005-11-25 23:45:06 +01:00
|
|
|
|
* November 25
|
|
|
|
|
|
|
|
|
|
- Yang Tse fixed some send() / recv() compiler warnings
|
|
|
|
|
|
2005-09-18 18:44:49 +02:00
|
|
|
|
* September 18
|
|
|
|
|
|
|
|
|
|
- Added constants that will be used by ares_getaddrinfo
|
|
|
|
|
|
2006-05-03 08:11:44 +02:00
|
|
|
|
- Made ares_getnameinfo use the reentrant getservbyport (getservbyport_r) if it
|
|
|
|
|
is available to ensure it works properly in a threaded environment.
|
2005-09-18 18:44:49 +02:00
|
|
|
|
|
2005-09-15 21:23:31 +02:00
|
|
|
|
* September 10
|
|
|
|
|
|
|
|
|
|
- configure fix for detecting a member in the sockaddr_in6 struct which failed
|
|
|
|
|
on ipv6-enabled HP-UX 11.00
|
|
|
|
|
|
2006-06-24 20:29:18 +02:00
|
|
|
|
Version 1.3.0 (August 29, 2005)
|
2005-08-29 09:03:05 +02:00
|
|
|
|
|
2005-08-21 23:09:44 +02:00
|
|
|
|
* August 21
|
|
|
|
|
|
|
|
|
|
- Alfredo Tupone provided a fix for the Windows code in get_iphlpapi_dns_info()
|
|
|
|
|
when getting the DNS server etc.
|
|
|
|
|
|
2005-06-19 18:58:40 +02:00
|
|
|
|
* June 19
|
|
|
|
|
|
|
|
|
|
- Added some checks for the addrinfo structure.
|
|
|
|
|
|
2005-06-02 13:09:10 +02:00
|
|
|
|
* June 2
|
|
|
|
|
|
|
|
|
|
- William Ahern:
|
|
|
|
|
|
2005-06-02 13:58:04 +02:00
|
|
|
|
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-02 13:09:10 +02:00
|
|
|
|
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-16 20:06:54 +02:00
|
|
|
|
* May 16
|
|
|
|
|
|
|
|
|
|
- Added ares_getnameinfo which mimics the getnameinfo API (another feature
|
|
|
|
|
that could use testing).
|
|
|
|
|
|
2005-05-14 20:35:20 +02:00
|
|
|
|
* May 14
|
|
|
|
|
|
|
|
|
|
- Added an inet_ntop function from BIND for systems that do not have it.
|
|
|
|
|
|
2005-04-09 18:49:47 +02:00
|
|
|
|
* April 9
|
|
|
|
|
|
2005-04-09 21:59:59 +02:00
|
|
|
|
- Made sortlist support IPv6 (this can probably use some testing).
|
|
|
|
|
|
2005-04-09 18:49:47 +02:00
|
|
|
|
- Made sortlist support CIDR matching for IPv4.
|
|
|
|
|
|
2005-04-08 17:41:31 +02:00
|
|
|
|
* April 8
|
|
|
|
|
|
2005-04-08 21:46:46 +02:00
|
|
|
|
- Added preliminary IPv6 support to ares_gethostbyname. Currently, sortlist
|
|
|
|
|
does not work with IPv6. Also provided an implementation of bitncmp from
|
|
|
|
|
BIND for systems that do not supply this function. This will be used to add
|
|
|
|
|
IPv6 support to sortlist.
|
|
|
|
|
|
2005-04-08 17:41:31 +02:00
|
|
|
|
- Made ares_gethostbyaddr support IPv6 by specifying AF_INET6 as the family.
|
|
|
|
|
The function can lookup IPv6 addresses both from files (/etc/hosts) and
|
|
|
|
|
DNS lookups.
|
|
|
|
|
|
2005-04-07 00:27:42 +02:00
|
|
|
|
* April 7
|
2005-04-08 17:41:31 +02:00
|
|
|
|
|
2005-04-07 00:27:42 +02:00
|
|
|
|
- Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac
|
|
|
|
|
OS X.
|
|
|
|
|
|
2005-04-05 20:26:55 +02:00
|
|
|
|
* April 5
|
|
|
|
|
|
|
|
|
|
- Dominick Meglio: Provided implementations of inet_net_pton and inet_pton
|
|
|
|
|
from BIND for systems that do not include these functions.
|
|
|
|
|
|
2005-03-11 00:30:34 +01:00
|
|
|
|
* March 11, 2005
|
|
|
|
|
|
|
|
|
|
- Dominick Meglio added ares_parse_aaaa_reply.c and did various
|
|
|
|
|
adjustments. The first little steps towards IPv6 support!
|
|
|
|
|
|
2004-11-08 00:48:42 +01:00
|
|
|
|
* November 7
|
|
|
|
|
|
|
|
|
|
- Fixed the VC project and makefile to use ares_cancel and ares_version
|
|
|
|
|
|
|
|
|
|
* October 24
|
|
|
|
|
|
|
|
|
|
- The released ares_version.h from 1.2.1 says 1.2.0 due to a maketgz flaw.
|
|
|
|
|
This is now fixed.
|
|
|
|
|
|
2004-10-20 10:01:38 +02:00
|
|
|
|
Version 1.2.1 (October 20, 2004)
|
|
|
|
|
|
2004-09-29 00:19:39 +02:00
|
|
|
|
* September 29
|
|
|
|
|
|
|
|
|
|
- Henrik Stoerner fix: got a report that Tru64 Unix (the unix from Digital
|
|
|
|
|
when they made Alpha's) uses /etc/svc.conf for the purpose fixed below for
|
|
|
|
|
other OSes. He made c-ares check for and understand it if present.
|
|
|
|
|
|
|
|
|
|
- Now c-ares will use local host name lookup _before_ DNS resolving by default
|
|
|
|
|
if nothing else is told.
|
|
|
|
|
|
2004-09-26 20:20:58 +02:00
|
|
|
|
* September 26
|
|
|
|
|
|
2004-09-29 00:19:39 +02:00
|
|
|
|
- Henrik Stoerner: found out that c-ares does not look at the /etc/host.conf
|
2004-09-27 00:35:18 +02:00
|
|
|
|
file to determine the sequence in which to search /etc/hosts and DNS. So on
|
|
|
|
|
systems where this order is defined by /etc/host.conf instead of a "lookup"
|
2004-09-29 00:19:39 +02:00
|
|
|
|
entry in /etc/resolv.conf, c-ares will always default to looking in DNS
|
2004-09-27 00:35:18 +02:00
|
|
|
|
first, and /etc/hosts second.
|
|
|
|
|
|
|
|
|
|
c-ares now looks at
|
|
|
|
|
|
|
|
|
|
1) resolv.conf (for the "lookup" line);
|
|
|
|
|
2) nsswitch.fon (for the "hosts:" line);
|
|
|
|
|
3) host.conf (for the "order" line).
|
|
|
|
|
|
|
|
|
|
First match wins.
|
|
|
|
|
|
2004-09-26 20:20:58 +02:00
|
|
|
|
- Dominick Meglio patched: C-ares on Windows assumed that the HOSTS file is
|
|
|
|
|
located in a static location. It assumed
|
|
|
|
|
C:\Windows\System32\Drivers\Etc. This is a poor assumption to make. In fact,
|
|
|
|
|
the location of the HOSTS file can be changed via a registry setting.
|
|
|
|
|
|
|
|
|
|
There is a key called DatabasePath which specifies the path to the HOSTS
|
|
|
|
|
file:
|
|
|
|
|
http://www.microsoft.com/technet/itsolutions/network/deploy/depovg/tcpip2k.mspx
|
|
|
|
|
|
|
|
|
|
The patch will make c-ares correctly consult the registry for the location
|
|
|
|
|
of this file.
|
|
|
|
|
|
2004-08-30 11:16:31 +02:00
|
|
|
|
* August 29
|
|
|
|
|
|
|
|
|
|
- Gisle Vanem fixed the MSVC build files.
|
|
|
|
|
|
|
|
|
|
* August 20
|
|
|
|
|
|
|
|
|
|
- Gisle Vanem made c-ares build and work with his Watt-32 TCP/IP stack.
|
|
|
|
|
|
2004-08-13 14:01:20 +02:00
|
|
|
|
* August 13
|
|
|
|
|
|
|
|
|
|
- Harshal Pradhan made a minor syntax change in ares_init.c to make it build
|
|
|
|
|
fine with MSVC 7.1
|
|
|
|
|
|
2004-07-24 23:51:43 +02:00
|
|
|
|
* July 24
|
|
|
|
|
|
|
|
|
|
- Made the lib get built static only if --enable-debug is used.
|
|
|
|
|
|
|
|
|
|
- Gisle Vanem fixed:
|
|
|
|
|
|
|
|
|
|
Basically in loops like handle_errors(), 'query->next' was assigned a local
|
|
|
|
|
variable and then query was referenced after the memory was freed by
|
|
|
|
|
next_server(). I've changed that so next_server() and end_query() returns
|
|
|
|
|
the next query. So callers should use this ret-value.
|
|
|
|
|
|
|
|
|
|
The next problem was that 'server->tcp_buffer_pos' had a random value at
|
|
|
|
|
entry to 1st recv() (luckily causing Winsock to return ENOBUFS).
|
|
|
|
|
|
|
|
|
|
I've also added a ares_writev() for Windows to streamline the code a bit
|
|
|
|
|
more.
|
|
|
|
|
|
2004-07-23 00:18:45 +02:00
|
|
|
|
* July 20
|
|
|
|
|
- Fixed a few variable return types for some system calls. Made configure
|
|
|
|
|
check for ssize_t to make it possible to use that when receiving the send()
|
|
|
|
|
error code. This is necessary to prevent compiler warnings on some systems.
|
|
|
|
|
|
|
|
|
|
- Made configure create config.h, and all source files now include setup.h that
|
|
|
|
|
might include the proper config.h (or a handicrafted alternative).
|
|
|
|
|
|
|
|
|
|
- Switched to 'ares_socket_t' type for sockets in ares, since Windows don't
|
|
|
|
|
use 'int' for that.
|
|
|
|
|
|
|
|
|
|
- automake-ified and libool-ified c-ares. Now it builds libcares as a shared
|
|
|
|
|
lib on most platforms if wanted. (This bloated the size of the release
|
|
|
|
|
archive with another 200K!)
|
|
|
|
|
|
|
|
|
|
- Makefile.am now uses Makefile.inc for the c sources, h headers and man
|
|
|
|
|
pages, to make it easier for other makefiles to use the exact same set of
|
|
|
|
|
files.
|
|
|
|
|
|
|
|
|
|
- Adjusted 'maketgz' to use the new automake magic when building distribution
|
|
|
|
|
archives.
|
|
|
|
|
|
|
|
|
|
- Anyone desires HTML and/or PDF versions of the man pages in the release
|
|
|
|
|
archives?
|
|
|
|
|
|
2004-07-05 00:20:26 +02:00
|
|
|
|
* July 3
|
|
|
|
|
- G<>nter Knauf made c-ares build and run on Novell Netware.
|
|
|
|
|
|
2004-07-01 15:55:13 +02:00
|
|
|
|
* July 1
|
|
|
|
|
- Gisle Vanem provided Makefile.dj to build with djgpp, added a few more djgpp
|
|
|
|
|
fixes and made ares not use 'errno' to provide further info on Windows.
|
|
|
|
|
|
2004-07-01 08:59:43 +02:00
|
|
|
|
* June 30
|
|
|
|
|
- Gisle Vanem made it build with djgpp and run fine with the Watt-32 stack.
|
|
|
|
|
|
2004-06-10 15:11:32 +02:00
|
|
|
|
* June 10
|
|
|
|
|
- Gisle Vanem's init patch for Windows:
|
|
|
|
|
|
|
|
|
|
The init_by_resolv_conf() function fetches the DNS-server(s)
|
|
|
|
|
from a series of registry branches.
|
|
|
|
|
|
|
|
|
|
This can be wrong in the case where DHCP has assigned nameservers, but the
|
|
|
|
|
user has overridden these servers with other prefered settings. Then it's
|
|
|
|
|
wrong to use the DHCPNAMESERVER setting in registry.
|
|
|
|
|
|
|
|
|
|
In the case of no global DHCP-assigned or fixed servers, but DNS server(s)
|
|
|
|
|
per adapter, one has to query the adapter branches. But how can c-ares know
|
|
|
|
|
which adapter is valid for use? AFAICS it can't. There could be one adapter
|
|
|
|
|
that is down (e.g. a VPN adapter).
|
|
|
|
|
|
|
|
|
|
So it's better to leave this to the IP Helper API (iphlapi) available in
|
|
|
|
|
Win-98/2000 and later. My patch falls-back to the old way if not available.
|
|
|
|
|
|
2004-06-08 23:26:03 +02:00
|
|
|
|
* June 8
|
|
|
|
|
- James Bursa fixed an init issue for RISC OS.
|
|
|
|
|
|
2004-05-11 23:12:10 +02:00
|
|
|
|
* May 11
|
|
|
|
|
- Nico Stappenbelt reported that when processing domain and search lines in
|
|
|
|
|
the resolv.conf file, the first entry encountered is processed and used as
|
|
|
|
|
the search list. According to the manual pages for both Linux, Solaris and
|
|
|
|
|
Tru64, the last entry of either a domain or a search field is used.
|
|
|
|
|
|
|
|
|
|
This is now adjusted in the code
|
|
|
|
|
|
2004-04-13 09:44:26 +02:00
|
|
|
|
Version 1.2.0 (April 13, 2004)
|
|
|
|
|
|
2004-04-06 17:12:50 +02:00
|
|
|
|
* April 2, 2004
|
|
|
|
|
- Updated various man pages to look nicer when converted to HTML on the web
|
|
|
|
|
site.
|
|
|
|
|
|
2004-04-01 10:25:58 +02:00
|
|
|
|
* April 1, 2004
|
|
|
|
|
- Dirk Manske provided a new function that is now named ares_cancel(). It is
|
|
|
|
|
used to cancel/cleanup a resolve/request made using ares functions on the
|
|
|
|
|
given ares channel. It does not destroy/kill the ares channel itself.
|
|
|
|
|
|
|
|
|
|
- Dominick Meglio cleaned up the formatting in several man pages.
|
|
|
|
|
|
2004-03-30 11:06:42 +02:00
|
|
|
|
* March 30, 2004
|
|
|
|
|
- Dominick Meglio's new ares_expand_string. A helper function when decoding
|
|
|
|
|
incoming DNS packages.
|
|
|
|
|
|
|
|
|
|
- Daniel Stenberg modified the Makefile.in to use a for loop for the man page
|
|
|
|
|
installation to improve overview and make it easier to add man pages.
|
|
|
|
|
|
2004-04-13 09:44:26 +02:00
|
|
|
|
Version 1.1.0 (March 11, 2004)
|
|
|
|
|
|
2004-03-10 12:28:34 +01:00
|
|
|
|
* March 9, 2004
|
|
|
|
|
- Gisle Vanem improved build on Windows.
|
|
|
|
|
|
2004-02-25 08:17:31 +01:00
|
|
|
|
* February 25, 2004
|
|
|
|
|
- Dan Fandrich found a flaw in the Feb 22 fix.
|
|
|
|
|
|
2004-02-25 15:32:39 +01:00
|
|
|
|
- Added better configure --enable-debug logic (taken from the curl configure
|
|
|
|
|
script). Added acinclude.m4 to the tarball.
|
|
|
|
|
|
2004-02-23 14:35:28 +01:00
|
|
|
|
* February 23, 2004
|
|
|
|
|
- Removed ares_free_errmem(), the function, the file and the man page. It was
|
|
|
|
|
not used and it did nothing.
|
|
|
|
|
|
|
|
|
|
- Fixed a lot of code that wasn't "64bit clean" and thus caused a lot of
|
|
|
|
|
compiler warnings on picky compilers.
|
|
|
|
|
|
2004-02-22 23:42:20 +01:00
|
|
|
|
* February 22, 2004
|
|
|
|
|
- Dominick Meglio made ares init support multiple name servers in the
|
|
|
|
|
NameServer key on Windows.
|
|
|
|
|
|
2004-02-17 08:41:10 +01:00
|
|
|
|
* February 16, 2004
|
|
|
|
|
- Modified ares_private.h to include libcurl's memory debug header if
|
|
|
|
|
CURLDEBUG is set. This makes all the ares-functions supervised properly by
|
|
|
|
|
the curl test suite. This also forced me to add inclusion of the
|
|
|
|
|
ares_private.h header in a few more files that are using some kind of
|
|
|
|
|
memory-related resources.
|
|
|
|
|
|
|
|
|
|
- Made the makefile only build ahost and adig if 'make demos' is used.
|
|
|
|
|
|
2004-02-11 13:59:16 +01:00
|
|
|
|
* February 10, 2004
|
|
|
|
|
- Dirk Manske made ares_version.h installed with 'make install'
|
2003-10-24 22:30:14 +02:00
|
|
|
|
|
2004-02-04 10:16:05 +01:00
|
|
|
|
* February 4, 2004
|
|
|
|
|
- ares_free_errmem() is subject for removal, it is simply present for future
|
|
|
|
|
purposes, and since we removed the extra parameter in strerror() it won't
|
|
|
|
|
be used by c-ares!
|
|
|
|
|
- configure --enable-debug now enables picky compiler options if gcc is used
|
|
|
|
|
- fixed several compiler warnings --enable-debug showed and Joerg Mueller-Tolk
|
|
|
|
|
reported
|
|
|
|
|
|
|
|
|
|
Version 1.0.0 (February 3, 2004)
|
|
|
|
|
|
2004-02-03 15:06:16 +01:00
|
|
|
|
* February 3, 2004
|
|
|
|
|
- now we produce the libcares.a library instead of the previous libares.a
|
|
|
|
|
since we are no longer compatible
|
|
|
|
|
|
|
|
|
|
* February 2, 2004
|
2004-02-03 07:38:38 +01:00
|
|
|
|
|
|
|
|
|
- ares_strerror() has one argument less. This is the first official
|
|
|
|
|
modification of the existing provided ares API.
|
|
|
|
|
|
2004-02-03 15:06:16 +01:00
|
|
|
|
* January 29, 2004
|
2004-01-29 12:23:36 +01:00
|
|
|
|
|
|
|
|
|
- Dirk Manske fixed how the socket is set non-blocking.
|
|
|
|
|
|
2004-02-03 15:06:16 +01:00
|
|
|
|
* January 4, 2004
|
2004-01-04 13:20:37 +01:00
|
|
|
|
|
|
|
|
|
- Dominick Meglio made the private gettimeofday() become ares_gettimeofday()
|
|
|
|
|
instead in order to not pollute the name space and risk colliding with
|
|
|
|
|
other libraries' versions of this function.
|
|
|
|
|
|
2004-02-03 15:06:16 +01:00
|
|
|
|
* October 24, 2003. Daniel Stenberg
|
2003-10-24 22:30:14 +02:00
|
|
|
|
|
|
|
|
|
Added ares_version().
|
2003-10-08 22:26:05 +02:00
|
|
|
|
|
2003-10-08 22:26:44 +02:00
|
|
|
|
Version 1.0-pre1 (8 October 2003)
|
2003-10-08 22:18:01 +02:00
|
|
|
|
|
2003-10-07 23:54:04 +02:00
|
|
|
|
- James Bursa made it run on RISC OS
|
|
|
|
|
|
|
|
|
|
- Dominick Meglio made it run fine on NT4
|
|
|
|
|
|
2003-10-08 22:18:01 +02:00
|
|
|
|
- Duncan Wilcox made it work fine on Mac OS X
|
2003-10-07 23:54:04 +02:00
|
|
|
|
|
|
|
|
|
- Daniel Stenberg adjusted the windows port
|
|
|
|
|
|
|
|
|
|
- liren at vivisimo.com made the initial windows port
|
2004-04-01 10:25:58 +02:00
|
|
|
|
|
|
|
|
|
* Imported the sources from ares 1.1.1
|