Dominick Meglio [Fri, 8 Apr 2005 19:46:46 +0000 (19:46 +0000)]
Added preliminary IPv6 support to ares_gethostbyname
Dominick Meglio [Fri, 8 Apr 2005 16:22:51 +0000 (16:22 +0000)]
Added include for inet_net_pton.h to ares__get_hostent.c
Dominick Meglio [Fri, 8 Apr 2005 15:41:31 +0000 (15:41 +0000)]
Made ares_gethostbyaddr support IPv6 by specifying AF_INET6 as the family
Daniel Stenberg [Fri, 8 Apr 2005 08:48:17 +0000 (08:48 +0000)]
include sys/types.h too when checking for headers as otherwise this breaks
on Solaris and FreeBSD. At least.
Daniel Stenberg [Thu, 7 Apr 2005 07:38:53 +0000 (07:38 +0000)]
Try harder to see if arpa/nameser_compat.h REALLY is a good header file to
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.
Daniel Stenberg [Wed, 6 Apr 2005 22:27:42 +0000 (22:27 +0000)]
Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OS
X.
Daniel Stenberg [Wed, 6 Apr 2005 21:14:58 +0000 (21:14 +0000)]
better errno constant replacements, as mentioned by Gisle Vanem
Gisle Vanem [Wed, 6 Apr 2005 18:58:33 +0000 (18:58 +0000)]
Include inet_net_pton.h for 'struct in6_addr'. Ideally this
should come from <ws2tcpip.h>, but Winsock 1.1 should
suffice.
Gisle Vanem [Wed, 6 Apr 2005 18:55:59 +0000 (18:55 +0000)]
Moved inet_net_pton.h to HHEADERS.
Daniel Stenberg [Wed, 6 Apr 2005 14:11:50 +0000 (14:11 +0000)]
check for struct sizes and use those sizes if the NS_* defines are lacking
(IRIX 6.5.22 it seems)
Daniel Stenberg [Wed, 6 Apr 2005 14:02:37 +0000 (14:02 +0000)]
moved the *_inet_pton protos to inet_net_pton.h instead
Daniel Stenberg [Wed, 6 Apr 2005 13:54:02 +0000 (13:54 +0000)]
made the ares_inet_net_pton() proto use size_t size, as the function in the
code uses that
Daniel Stenberg [Tue, 5 Apr 2005 20:20:14 +0000 (20:20 +0000)]
with these changes, it builds on my win32 cross-compiler
Daniel Stenberg [Tue, 5 Apr 2005 20:19:55 +0000 (20:19 +0000)]
check for another arpa header
Daniel Stenberg [Tue, 5 Apr 2005 20:08:15 +0000 (20:08 +0000)]
check for the arpa/* headers
Dominick Meglio [Tue, 5 Apr 2005 18:26:55 +0000 (18:26 +0000)]
Provided implementations of inet_net_pton and inet_pton from BIND for systems that do not include these functions. These will be necessary for CIDR support and IPv6 support.
Daniel Stenberg [Thu, 31 Mar 2005 07:02:02 +0000 (07:02 +0000)]
Updated the copyright year since changes have been this year.
Gisle Vanem [Tue, 22 Mar 2005 10:37:26 +0000 (10:37 +0000)]
CURL_EXTERN is already in <curl/curl.h>.
Gisle Vanem [Tue, 22 Mar 2005 10:36:20 +0000 (10:36 +0000)]
Prevent redefinition warning with CURLDEBUG.
Daniel Stenberg [Mon, 21 Mar 2005 22:38:45 +0000 (22:38 +0000)]
the same fix here too, typecast to prevent win32 compiler warning
Daniel Stenberg [Mon, 21 Mar 2005 22:37:18 +0000 (22:37 +0000)]
typecase to fix win32 compiler warning (and intended as other code is)
Daniel Stenberg [Sun, 20 Mar 2005 12:29:15 +0000 (12:29 +0000)]
silence win32 compiler warnings
Daniel Stenberg [Sun, 20 Mar 2005 00:38:50 +0000 (00:38 +0000)]
attempt to fix the ares link breakage with --enable-debug in libcurl and here
Daniel Stenberg [Sat, 19 Mar 2005 01:03:46 +0000 (01:03 +0000)]
silence warnings on win32 about static functions that are never used
Gisle Vanem [Sun, 13 Mar 2005 09:21:54 +0000 (09:21 +0000)]
Prevent gcc warning.
Daniel Stenberg [Fri, 11 Mar 2005 08:34:51 +0000 (08:34 +0000)]
the ares_parse_aaaa_reply man page
Daniel Stenberg [Fri, 11 Mar 2005 08:14:36 +0000 (08:14 +0000)]
Check for winsock.h to work with win32. Only include system headers we know
exist.
Daniel Stenberg [Fri, 11 Mar 2005 08:06:57 +0000 (08:06 +0000)]
Replace AC_TRY_RUN() with AC_EGREP_CPP() when checking for constants to
work fine with cross-compiled builds.
Daniel Stenberg [Fri, 11 Mar 2005 08:03:20 +0000 (08:03 +0000)]
oops, once is enough! ;-)
Daniel Stenberg [Fri, 11 Mar 2005 07:53:42 +0000 (07:53 +0000)]
Define HAVE_AF_INET6_H for Netware too, as Guenter Knauf's builds indicate.
Dan Fandrich [Fri, 11 Mar 2005 07:52:24 +0000 (07:52 +0000)]
Added HAVE_AF_INET6 to Netware's config.h
Dan Fandrich [Fri, 11 Mar 2005 05:39:37 +0000 (05:39 +0000)]
Added HAVE_STRUCT_IN6_ADDR to Netware's config.h
Daniel Stenberg [Thu, 10 Mar 2005 23:30:34 +0000 (23:30 +0000)]
Dominick Meglio added ares_parse_aaaa_reply.c and did various adjustments. The
first little steps towards IPv6 support!
Daniel Stenberg [Sat, 5 Mar 2005 00:04:52 +0000 (00:04 +0000)]
Samuel Díaz García's correction
Daniel Stenberg [Tue, 22 Feb 2005 18:39:40 +0000 (18:39 +0000)]
Updated as suggested by Samuel Díaz García
Daniel Stenberg [Fri, 10 Dec 2004 21:46:00 +0000 (21:46 +0000)]
untabified
Daniel Stenberg [Tue, 7 Dec 2004 10:43:21 +0000 (10:43 +0000)]
NORECURSE clarification, minor formatting update
Daniel Stenberg [Thu, 11 Nov 2004 14:15:41 +0000 (14:15 +0000)]
fix the -I path to the proper include dir when --enable-debug is used
Gisle Vanem [Thu, 11 Nov 2004 12:25:40 +0000 (12:25 +0000)]
Adapted for C++.
Gisle Vanem [Wed, 10 Nov 2004 14:30:25 +0000 (14:30 +0000)]
Replace IsNT with IS_NT().
Gisle Vanem [Wed, 10 Nov 2004 14:23:20 +0000 (14:23 +0000)]
Replace IsNT with IS_NT().
Return correct timeval in windows_port.c.
Squelch gcc warnings:
use 'ares_socket_t' in ares_fds.c.
Don't cast a 'lvalue' in ares_init.c.
Daniel Stenberg [Tue, 9 Nov 2004 18:10:51 +0000 (18:10 +0000)]
fix CURL_EXTERN for debug builds
Daniel Stenberg [Sun, 7 Nov 2004 23:48:42 +0000 (23:48 +0000)]
two post-1.2.1 changes
Daniel Stenberg [Sun, 7 Nov 2004 13:37:07 +0000 (13:37 +0000)]
added ares_cancel and ares_version
Daniel Stenberg [Tue, 26 Oct 2004 08:08:41 +0000 (08:08 +0000)]
mention incompatibilities with ares
Daniel Stenberg [Sun, 24 Oct 2004 13:02:46 +0000 (13:02 +0000)]
ignore this
Daniel Stenberg [Sun, 24 Oct 2004 13:02:09 +0000 (13:02 +0000)]
maketgz now creates a ares_version.h.dist file with the given version data
properly set, and the Makefile.am is now fixed to use that when building
a new package with make dist.
Daniel Stenberg [Wed, 20 Oct 2004 08:01:38 +0000 (08:01 +0000)]
1.2.1 release time
Daniel Stenberg [Wed, 6 Oct 2004 07:50:18 +0000 (07:50 +0000)]
removed tabs and trailing whitespace from source
Daniel Stenberg [Tue, 28 Sep 2004 22:19:39 +0000 (22:19 +0000)]
- 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.
Daniel Stenberg [Sun, 26 Sep 2004 22:35:18 +0000 (22:35 +0000)]
- Henrik Stoerner: found out that C-ARES does not look at the /etc/host.conf
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"
entry in /etc/resolv.conf, C-ARES will always default to looking in DNS
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.
Daniel Stenberg [Sun, 26 Sep 2004 18:20:58 +0000 (18:20 +0000)]
Dominick Meglio host file path discovery patch for windows
Daniel Stenberg [Tue, 14 Sep 2004 21:31:06 +0000 (21:31 +0000)]
ignore more
Gunter Knauf [Fri, 3 Sep 2004 18:51:36 +0000 (18:51 +0000)]
fixed nasty warnings with gcc 3.3.
Daniel Stenberg [Mon, 30 Aug 2004 09:16:31 +0000 (09:16 +0000)]
mention Gisle's recent fixes
Gisle Vanem [Sun, 29 Aug 2004 15:40:17 +0000 (15:40 +0000)]
Removed ares_free_errmem.c from MSCV project files.
Fixed line-endings to CR-LF.
Gisle Vanem [Fri, 20 Aug 2004 14:10:44 +0000 (14:10 +0000)]
More patches for Watt-32 on Win32; don't include "nameser.h".
Gisle Vanem [Fri, 20 Aug 2004 14:07:11 +0000 (14:07 +0000)]
No WSAGetLastError() on Watt-32/DOS
Gisle Vanem [Fri, 20 Aug 2004 13:48:24 +0000 (13:48 +0000)]
No <sys/uio.h> on DOS/Win32
Gisle Vanem [Fri, 20 Aug 2004 13:45:26 +0000 (13:45 +0000)]
Changes for Watt-32 on Windows. I've assumed Configure
sets the required HAVE_xx defines for non-DOS/Win targets.
Gisle Vanem [Thu, 19 Aug 2004 15:24:49 +0000 (15:24 +0000)]
ZLIB_ROOT not needed
Gisle Vanem [Thu, 19 Aug 2004 15:16:40 +0000 (15:16 +0000)]
My first CVS commit just to see if this works.
BTW. Used eclipse IDE fo this, which really kicks ass.
Daniel Stenberg [Fri, 13 Aug 2004 12:01:20 +0000 (12:01 +0000)]
mention Harshal Pradhan's windows fix
Daniel Stenberg [Fri, 13 Aug 2004 12:00:33 +0000 (12:00 +0000)]
Harshal Pradhan made minor syntax change to make this build with MSVC 7.1
Daniel Stenberg [Tue, 10 Aug 2004 10:43:10 +0000 (10:43 +0000)]
ignore more files
Daniel Stenberg [Thu, 29 Jul 2004 07:24:39 +0000 (07:24 +0000)]
variable type fix
Daniel Stenberg [Thu, 29 Jul 2004 07:19:27 +0000 (07:19 +0000)]
removed C++ comment to please picky source checkers
Daniel Stenberg [Sat, 24 Jul 2004 21:51:43 +0000 (21:51 +0000)]
--enable-debug builds static only, Gisle fixed a memory leak and more
Daniel Stenberg [Sat, 24 Jul 2004 21:47:49 +0000 (21:47 +0000)]
Gisle Vanem:
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.
Daniel Stenberg [Sat, 24 Jul 2004 21:22:46 +0000 (21:22 +0000)]
--enable-debug now makes the lib built static only since otherwise we
get problems
Daniel Stenberg [Sat, 24 Jul 2004 06:29:38 +0000 (06:29 +0000)]
generate the new configure better
Daniel Stenberg [Fri, 23 Jul 2004 18:34:21 +0000 (18:34 +0000)]
now generated by automake
Daniel Stenberg [Thu, 22 Jul 2004 22:18:45 +0000 (22:18 +0000)]
- 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.
Gunter Knauf [Sun, 11 Jul 2004 18:14:11 +0000 (18:14 +0000)]
minor cleanup.
Gunter Knauf [Sun, 11 Jul 2004 08:30:23 +0000 (08:30 +0000)]
added ifdef for NetWare to ares.h.
Daniel Stenberg [Tue, 6 Jul 2004 08:06:03 +0000 (08:06 +0000)]
mingw and netware makefiles added by Gunter Knauf
Gunter Knauf [Mon, 5 Jul 2004 21:44:09 +0000 (21:44 +0000)]
minor cosmetic fix.
Gunter Knauf [Mon, 5 Jul 2004 13:53:27 +0000 (13:53 +0000)]
added MingW32 makefile.
Gunter Knauf [Mon, 5 Jul 2004 01:58:33 +0000 (01:58 +0000)]
try to relax linux build host detection.
Daniel Stenberg [Sun, 4 Jul 2004 22:20:26 +0000 (22:20 +0000)]
Günter Knauf made c-ares build and run on Novell Netware.
Gunter Knauf [Sun, 4 Jul 2004 21:36:32 +0000 (21:36 +0000)]
added NetWare section for paths.
Gunter Knauf [Sun, 4 Jul 2004 21:35:26 +0000 (21:35 +0000)]
update to build both test apps.
Gunter Knauf [Sat, 3 Jul 2004 22:25:37 +0000 (22:25 +0000)]
minor fix for compiling on Linux.
Gunter Knauf [Sat, 3 Jul 2004 21:48:42 +0000 (21:48 +0000)]
added few ifdefs to make it usable for NetWare.
Gunter Knauf [Sat, 3 Jul 2004 21:44:32 +0000 (21:44 +0000)]
added NetWare makefile.
Daniel Stenberg [Thu, 1 Jul 2004 13:55:13 +0000 (13:55 +0000)]
djgpp fixes by Gisle
Daniel Stenberg [Thu, 1 Jul 2004 13:54:24 +0000 (13:54 +0000)]
Gisle's win32-fix. 'errno' is not used for errors when socket() fails on
Windows.
Daniel Stenberg [Thu, 1 Jul 2004 13:53:13 +0000 (13:53 +0000)]
Gisle added makefile for djgpp builds
Daniel Stenberg [Thu, 1 Jul 2004 06:59:43 +0000 (06:59 +0000)]
Gisle's djgpp magic
Daniel Stenberg [Thu, 1 Jul 2004 06:58:47 +0000 (06:58 +0000)]
Gisle Vanem made this build fine with djgpp and the Watt-32 stack.
Daniel Stenberg [Mon, 14 Jun 2004 10:45:30 +0000 (10:45 +0000)]
prevent compiler warnings on non-win32 platforms
Daniel Stenberg [Thu, 10 Jun 2004 13:11:32 +0000 (13:11 +0000)]
Gisle Vanem's init patch for Windows
Daniel Stenberg [Tue, 8 Jun 2004 21:26:03 +0000 (21:26 +0000)]
fix
Daniel Stenberg [Tue, 8 Jun 2004 21:25:11 +0000 (21:25 +0000)]
James Bursa fixed a RISC OS init issue, removed trailing whitespace
Daniel Stenberg [Thu, 27 May 2004 07:10:36 +0000 (07:10 +0000)]
free() allocated memory when the ares search can't be made
Daniel Stenberg [Thu, 27 May 2004 07:10:02 +0000 (07:10 +0000)]
clear the domains and sortlist when the 'channel' is first created so that
we can compare if non-NULL elsewhere
Daniel Stenberg [Thu, 27 May 2004 07:09:21 +0000 (07:09 +0000)]
better checks to avoid free(NULL)
Daniel Stenberg [Thu, 27 May 2004 06:42:48 +0000 (06:42 +0000)]
James Bursa's fix to prevent free(NULL) to occur
Daniel Stenberg [Thu, 13 May 2004 06:53:29 +0000 (06:53 +0000)]
James Bursa's patch to avoid free(NULL) (mainly because the libcurl memdebug
system thinks free(NULL) is badness)
Daniel Stenberg [Tue, 11 May 2004 21:12:10 +0000 (21:12 +0000)]
- 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.