Daniel Stenberg 2fe3c22108 use it as 'struct addrinfo' so perhaps it builds on mingw again 19 years ago
..
.cvsignore 2cea484428 ignore curllib.dsp 20 years ago
Makefile.Watcom 1c3766eb46 GnuTLS updates 19 years ago
Makefile.am ab4086bc24 Updated the copyright year since changes have been this year. 19 years ago
Makefile.b32 56f0227c92 20 years ago
Makefile.inc 6e61939382 GnuTLS support added. There's now a "generic" SSL layer that we use all over 19 years ago
Makefile.m32 13ee90bbd4 OpenSSL updates; get CA_BUNDLE from env. Assume no 20 years ago
Makefile.netware f14195f786 enabled statically linked builds. 19 years ago
Makefile.riscos 1c3766eb46 GnuTLS updates 19 years ago
Makefile.vc6 200ac588cc Dave Dribin: set CURL_STATICLIB when it builds static library variants. 19 years ago
README.ares bbeb840916 up-to-date with reality 20 years ago
README.curlx 26b8b3fc53 updated with more and new info 20 years ago
README.encoding c0197f19cf Dan Fandrich changed CURLOPT_ENCODING to select all supported encodings if 21 years ago
README.hostip 4d1f3d3cd0 Added README.hostip 20 years ago
README.httpauth 3e1caa6185 HTTP "auth done right". See lib/README.httpauth 20 years ago
README.memoryleak e76c960624 CURLDEBUG, not MALLOCDEBUG 21 years ago
amigaos.c 16bbd13af7 Diego Casorran patches to make (lib)curl build fine on Amiga again 19 years ago
amigaos.h 16bbd13af7 Diego Casorran patches to make (lib)curl build fine on Amiga again 19 years ago
arpa_telnet.h 80d301257c Make some more arrays of pointers const. 20 years ago
base64.c ab4086bc24 Updated the copyright year since changes have been this year. 19 years ago
base64.h ab4086bc24 Updated the copyright year since changes have been this year. 19 years ago
ca-bundle.crt 6164823921 Removed the "TC TrustCenter, Germany, Class 0 CA." certificate: 21 years ago
config-amigaos.h 16bbd13af7 Diego Casorran patches to make (lib)curl build fine on Amiga again 19 years ago
config-mac.h 205f8b266c Fixed LDAP library file name bug (KNOWN_BUGS #1). configure now auto-detects 19 years ago
config-riscos.h 205f8b266c Fixed LDAP library file name bug (KNOWN_BUGS #1). configure now auto-detects 19 years ago
config-win32.h a00f9b093c spell 19 years ago
config-win32ce.h fe5979cfdb Replace MINGW32 with built-in __MINGW32__. 20 years ago
config.dj 6a04a03eb5 'ssize_t' seems to be a gcc 4.x built-in. 19 years ago
connect.c 6e87cf5b30 Fixed some typos in output messages. 19 years ago
connect.h c4ff5eb0ca conn->ip_addr MUST NOT be used on re-used connections 20 years ago
content_encoding.c ab4086bc24 Updated the copyright year since changes have been this year. 19 years ago
content_encoding.h 7261b4556b strip trailing whitespace 20 years ago
cookie.c 90e1a6905a remove the typecast to long from time_t, since we now store it as curl_off_t 19 years ago
cookie.h a676c18502 - Jeff Pohlmeyer found out that if you ask libcurl to load a cookiefile (with 19 years ago
curllib.dsw c7aa095fac Hanno L. Kranzhoff fixed them 22 years ago
curlx.h 5d8b526b80 delete trailing whitespace 20 years ago
dict.c 6a2e21ec8c FTP code turned into state machine. Not completely yet, but a good start. 20 years ago
dict.h 6a2e21ec8c FTP code turned into state machine. Not completely yet, but a good start. 20 years ago
easy.c 4922904991 Simplified the code within curl_easy_perform() that calls Curl_perform(). 19 years ago
easyif.h ab4086bc24 Updated the copyright year since changes have been this year. 19 years ago
escape.c 090b89cc76 Variable type cleanups to please the picky MIPSPro compiler. 20 years ago
escape.h 053f6c85ef updated year in the copyright string 21 years ago
file.c e7cefd684b Removed all uses of strftime() since it uses the localised version of the 20 years ago
file.h 6a2e21ec8c FTP code turned into state machine. Not completely yet, but a good start. 20 years ago
formdata.c 11bdba0007 corrected copyright year 19 years ago
formdata.h 24572daccc Allow formposting of files larger than what fits in memory by not reading the 20 years ago
ftp.c 710ee3b0e0 Norbert Novotny had problems with FTPS and he helped me work out a patch 19 years ago
ftp.h 6a2e21ec8c FTP code turned into state machine. Not completely yet, but a good start. 20 years ago
getenv.c 24d47a6e07 Paul Nolan fix to make libcurl build nicely on Windows CE 20 years ago
getinfo.c 2236ba0d20 Peteris Krumins added CURLOPT_COOKIELIST and CURLINFO_COOKIELIST, which is a 19 years ago
getinfo.h 053f6c85ef updated year in the copyright string 21 years ago
gtls.c 432dfe2b8f Fixed CA cert verification using GnuTLS with the default bundle, which 19 years ago
gtls.h 6e61939382 GnuTLS support added. There's now a "generic" SSL layer that we use all over 19 years ago
hash.c 043d70fcdf Use plain structs and not typedef'ed ones in the hash and linked-list code. 20 years ago
hash.h 043d70fcdf Use plain structs and not typedef'ed ones in the hash and linked-list code. 20 years ago
hostares.c 5f0366c2cb only define _REENTRANT if not already defined, and only in setup.h 19 years ago
hostasyn.c 5f0366c2cb only define _REENTRANT if not already defined, and only in setup.h 19 years ago
hostip.c 5f0366c2cb only define _REENTRANT if not already defined, and only in setup.h 19 years ago
hostip.h 9b3c2b6ae2 kill warnings 19 years ago
hostip4.c 4762995d1f avoid the sensitive word as it looks bad in some people's eyes 19 years ago
hostip6.c 5f0366c2cb only define _REENTRANT if not already defined, and only in setup.h 19 years ago
hostsyn.c 5f0366c2cb only define _REENTRANT if not already defined, and only in setup.h 19 years ago
hostthre.c 2fe3c22108 use it as 'struct addrinfo' so perhaps it builds on mingw again 19 years ago
http.c c3a826fdce correction for the 407 with response-body case 19 years ago
http.h 20005a83d2 Andrew Bushnell provided enough info for me to tell that we badly needed to 19 years ago
http_chunks.c 465e19dbe9 Adrian Schuur added trailer support in the chunked encoding stream. The 19 years ago
http_chunks.h 465e19dbe9 Adrian Schuur added trailer support in the chunked encoding stream. The 19 years ago
http_digest.c 94043b1150 Dan Fandrich added the --disable-crypto-auth option to configure to allow 20 years ago
http_digest.h 78aba6e4cd return CURLDIGEST_NOMEM when a memory function fails to deliver 20 years ago
http_negotiate.c ab4086bc24 Updated the copyright year since changes have been this year. 19 years ago
http_negotiate.h 053f6c85ef updated year in the copyright string 21 years ago
http_ntlm.c 6e61939382 GnuTLS support added. There's now a "generic" SSL layer that we use all over 19 years ago
http_ntlm.h 463c0f7096 disabling HTTP should also nullify this function call 19 years ago
if2ip.c 16bbd13af7 Diego Casorran patches to make (lib)curl build fine on Amiga again 19 years ago
if2ip.h ab4086bc24 Updated the copyright year since changes have been this year. 19 years ago
inet_ntoa_r.h d1235ff058 provide the proper copyright texts for these 19 years ago
inet_ntop.c d1235ff058 provide the proper copyright texts for these 19 years ago
inet_ntop.h ab4086bc24 Updated the copyright year since changes have been this year. 19 years ago
inet_pton.c 6b1220b61d Cory Nelson's work on nuking compiler warnings when building on x64 with 19 years ago
inet_pton.h ab4086bc24 Updated the copyright year since changes have been this year. 19 years ago
krb4.c 62970da675 Removed security.h since it shadows an include file mingw needs when building 19 years ago
krb4.h 6e61939382 GnuTLS support added. There's now a "generic" SSL layer that we use all over 19 years ago
ldap.c 205f8b266c Fixed LDAP library file name bug (KNOWN_BUGS #1). configure now auto-detects 19 years ago
ldap.h 6a2e21ec8c FTP code turned into state machine. Not completely yet, but a good start. 20 years ago
libcurl.def 362912ff83 added curl_mvsnprintf to the export list; I appened to the end cause of the numbering ... 19 years ago
libcurl.framework.make 2085f133d6 added new files 19 years ago
libcurl.imp 46ff13f243 added curl_mvsnprintf to the export list. 19 years ago
libcurl.plist 1be1d3cfb8 Matt Veenstra updated to 7.12.3. Starting now, we'll update the version number 20 years ago
libcurl.rc c5d6a42abf Update copyright. 19 years ago
llist.c 043d70fcdf Use plain structs and not typedef'ed ones in the hash and linked-list code. 20 years ago
llist.h 043d70fcdf Use plain structs and not typedef'ed ones in the hash and linked-list code. 20 years ago
makefile.amiga 16bbd13af7 Diego Casorran patches to make (lib)curl build fine on Amiga again 19 years ago
makefile.dj 95fe8372e8 Updated generated dependencies. 19 years ago
md5.c 11bdba0007 corrected copyright year 19 years ago
md5.h 1ba47e7af9 Add 'const' to immutable arrays. 20 years ago
memdebug.c 701de67b79 use %p to printf pointers since %x doesn't work properly on tru64 for this 19 years ago
memdebug.h 883479f01e enable memory debugging on tru64 with ipv6 support by doing a little different 19 years ago
memory.h 39af394a1c removed tabs and trailing whitespace from source 20 years ago
mprintf.c 16bbd13af7 Diego Casorran patches to make (lib)curl build fine on Amiga again 19 years ago
msvcproj.foot 04e2520dbb new attempt at an improved DSP-file generation 20 years ago
msvcproj.head 64414df27e Use the more correct BUILDING_LIBCURL define instead of CURLLIB_EXPORTS. 19 years ago
multi.c b7ffc6bb45 remove old printf() debug leftover 19 years ago
multiif.h ab4086bc24 Updated the copyright year since changes have been this year. 19 years ago
netrc.c 11bdba0007 corrected copyright year 19 years ago
netrc.h 053f6c85ef updated year in the copyright string 21 years ago
nwlib.c ef1aa4e5e9 converted to UNIX format. 20 years ago
parsedate.c 6c157a404b Christopher R. Palmer fixed the offsets used for date parsings when the time 19 years ago
parsedate.h ab4086bc24 Updated the copyright year since changes have been this year. 19 years ago
progress.c ffe17a8197 As reported in Mandrake's bug tracker bug 12289 20 years ago
progress.h 5931d43a36 clean up start time and t_startsingle use so that redirect_time works properly 20 years ago
security.c 62970da675 Removed security.h since it shadows an include file mingw needs when building 19 years ago
select.c 6b1220b61d Cory Nelson's work on nuking compiler warnings when building on x64 with 19 years ago
select.h 539e34b5df Suppress signed vs. unsigned warnings on Win32 20 years ago
sendf.c 6e61939382 GnuTLS support added. There's now a "generic" SSL layer that we use all over 19 years ago
sendf.h 6a2e21ec8c FTP code turned into state machine. Not completely yet, but a good start. 20 years ago
setup.h 9c5f79c56a DEBUGF() is a new conveniant macro to add infof() calls (or similar) for 19 years ago
share.c ac269a8f68 Dan Fandrich added the --disable-cookies option to configure to build 20 years ago
share.h 043d70fcdf Use plain structs and not typedef'ed ones in the hash and linked-list code. 20 years ago
speedcheck.c 39af394a1c removed tabs and trailing whitespace from source 20 years ago
speedcheck.h 053f6c85ef updated year in the copyright string 21 years ago
sslgen.c 84c4d96e71 removed old debug left-over infof() call 19 years ago
sslgen.h 6e61939382 GnuTLS support added. There's now a "generic" SSL layer that we use all over 19 years ago
ssluse.c 20b17d6b04 the debug callback was called with CURLINFO_TEXT with the data size one 19 years ago
ssluse.h 6e61939382 GnuTLS support added. There's now a "generic" SSL layer that we use all over 19 years ago
strequal.c 39af394a1c removed tabs and trailing whitespace from source 20 years ago
strequal.h 76c7c694c5 modified this year 19 years ago
strerror.c 6e87cf5b30 Fixed some typos in output messages. 19 years ago
strerror.h 84bf03b365 removed trailing whitespace 20 years ago
strtok.c 4d17d6876e Dan Fandrich's cleanup patch to make pedantic compiler options cause less 21 years ago
strtok.h 053f6c85ef updated year in the copyright string 21 years ago
strtoofft.c 6d14a80608 Added comment about strtoimax() 19 years ago
strtoofft.h c5297b9fd9 Watcom uses 'i64' suffix. 20 years ago
telnet.c a357f77c4c nonsense change for(;;) => while(1) just to prevent gcc from warning on 19 years ago
telnet.h 6a2e21ec8c FTP code turned into state machine. Not completely yet, but a good start. 20 years ago
timeval.c 7e00076586 <windows.h> required for Watcom. 20 years ago
timeval.h 5c2d4a6bdd Watcom has 'struct timeval'. 20 years ago
transfer.c a4773fcbbb Toby Peterson added CURLOPT_IGNORE_CONTENT_LENGTH to the library, accessible 19 years ago
transfer.h ab4086bc24 Updated the copyright year since changes have been this year. 19 years ago
url.c a4773fcbbb Toby Peterson added CURLOPT_IGNORE_CONTENT_LENGTH to the library, accessible 19 years ago
url.h 4922904991 Simplified the code within curl_easy_perform() that calls Curl_perform(). 19 years ago
urldata.h 5effe8f336 Simon Josefson brought GNU GSS support 19 years ago
version.c 6e61939382 GnuTLS support added. There's now a "generic" SSL layer that we use all over 19 years ago

README.ares

$Id$
_ _ ____ _
___| | | | _ \| |
/ __| | | | |_) | |
| (__| |_| | _ <| |___
\___|\___/|_| \_\_____|

How To Build libcurl to Use c-ares For Asynch Name Resolves
===========================================================

c-ares:
http://daniel.haxx.se/projects/c-ares/

NOTE
libcurl 7.11.1 builds with c-ares 1.1.0, but 7.11.2 and later require c-ares
1.2.0 or alter.

Once upon the time libcurl built fine with the "original" ares. That is no
longer true. You need to use c-ares. c-ares is based on ares but improved.

Build c-ares
============

1. unpack the c-ares archive
2. cd c-ares-dir
3. ./configure
4. make

Build libcurl to use c-ares in the curl source tree
===================================================

1. name the c-ares source directory 'ares' in the curl source directory
(if you have checked out the curl sources from CVS, you will already have
c-ares in a directory named ares).
2. ./configure --enable-ares
3. make

Build libcurl to use an installed c-ares
========================================

1. ./configure --enable-ares=/path/to/ares/install
2. make

c-ares and ipv6
===============

If the configure script enables IPv6 support you need to explicitly disable
that (--disable-ipv6) since c-ares isn't IPv6 compatible (yet).

c-ares on win32
===============
(description brought by Dominick Meglio)

First I compiled c-ares. I changed the default C runtime library to be the
single-threaded rather than the multi-threaded (this seems to be required to
prevent linking errors later on). Then I simply build the areslib project (the
other projects adig/ahost seem to fail under MSVC).

Next was libcurl. I opened lib/config-win32.h and I added a:
#define USE_ARES 1

Next thing I did was I added the path for the ares includes to the include
path, and the libares.lib to the libraries.

Lastly, I also changed libcurl to be single-threaded rather than
multi-threaded, again this was to prevent some duplicate symbol errors. I'm
not sure why I needed to change everything to single-threaded, but when I
didn't I got redefinition errors for several CRT functions (malloc, stricmp,
etc.)

I would have modified the MSVC++ project files, but I only have VC.NET and it
uses a different format than VC6.0 so I didn't want to go and change
everything and remove VC6.0 support from libcurl.