Simon Morgan fb08f8cd2f Initial import. 5 år sedan
..
Makefile.am fb08f8cd2f Initial import. 5 år sedan
Makefile.b32 fb08f8cd2f Initial import. 5 år sedan
Makefile.b32.resp fb08f8cd2f Initial import. 5 år sedan
Makefile.in fb08f8cd2f Initial import. 5 år sedan
Makefile.m32 fb08f8cd2f Initial import. 5 år sedan
Makefile.netware fb08f8cd2f Initial import. 5 år sedan
Makefile.riscos fb08f8cd2f Initial import. 5 år sedan
Makefile.vc6 fb08f8cd2f Initial import. 5 år sedan
README.ares fb08f8cd2f Initial import. 5 år sedan
README.encoding fb08f8cd2f Initial import. 5 år sedan
README.memoryleak fb08f8cd2f Initial import. 5 år sedan
amigaos.c fb08f8cd2f Initial import. 5 år sedan
amigaos.h fb08f8cd2f Initial import. 5 år sedan
arpa_telnet.h fb08f8cd2f Initial import. 5 år sedan
base64.c fb08f8cd2f Initial import. 5 år sedan
base64.h fb08f8cd2f Initial import. 5 år sedan
ca-bundle.crt fb08f8cd2f Initial import. 5 år sedan
ca-bundle.h fb08f8cd2f Initial import. 5 år sedan
config-amigaos.h fb08f8cd2f Initial import. 5 år sedan
config-mac.h fb08f8cd2f Initial import. 5 år sedan
config-netware.h fb08f8cd2f Initial import. 5 år sedan
config-riscos.h fb08f8cd2f Initial import. 5 år sedan
config-vms.h fb08f8cd2f Initial import. 5 år sedan
config-win32.h fb08f8cd2f Initial import. 5 år sedan
config.dj fb08f8cd2f Initial import. 5 år sedan
config.h.in fb08f8cd2f Initial import. 5 år sedan
connect.c fb08f8cd2f Initial import. 5 år sedan
connect.h fb08f8cd2f Initial import. 5 år sedan
content_encoding.c fb08f8cd2f Initial import. 5 år sedan
content_encoding.h fb08f8cd2f Initial import. 5 år sedan
cookie.c fb08f8cd2f Initial import. 5 år sedan
cookie.h fb08f8cd2f Initial import. 5 år sedan
curllib.dsp fb08f8cd2f Initial import. 5 år sedan
curllib.dsw fb08f8cd2f Initial import. 5 år sedan
curllib.vcproj fb08f8cd2f Initial import. 5 år sedan
dict.c fb08f8cd2f Initial import. 5 år sedan
dict.h fb08f8cd2f Initial import. 5 år sedan
easy.c fb08f8cd2f Initial import. 5 år sedan
escape.c fb08f8cd2f Initial import. 5 år sedan
escape.h fb08f8cd2f Initial import. 5 år sedan
file.c fb08f8cd2f Initial import. 5 år sedan
file.h fb08f8cd2f Initial import. 5 år sedan
formdata.c fb08f8cd2f Initial import. 5 år sedan
formdata.h fb08f8cd2f Initial import. 5 år sedan
ftp.c fb08f8cd2f Initial import. 5 år sedan
ftp.h fb08f8cd2f Initial import. 5 år sedan
getdate.c fb08f8cd2f Initial import. 5 år sedan
getdate.h fb08f8cd2f Initial import. 5 år sedan
getdate.y fb08f8cd2f Initial import. 5 år sedan
getenv.c fb08f8cd2f Initial import. 5 år sedan
getinfo.c fb08f8cd2f Initial import. 5 år sedan
getinfo.h fb08f8cd2f Initial import. 5 år sedan
hash.c fb08f8cd2f Initial import. 5 år sedan
hash.h fb08f8cd2f Initial import. 5 år sedan
hostip.c fb08f8cd2f Initial import. 5 år sedan
hostip.h fb08f8cd2f Initial import. 5 år sedan
http.c fb08f8cd2f Initial import. 5 år sedan
http.h fb08f8cd2f Initial import. 5 år sedan
http_chunks.c fb08f8cd2f Initial import. 5 år sedan
http_chunks.h fb08f8cd2f Initial import. 5 år sedan
http_digest.c fb08f8cd2f Initial import. 5 år sedan
http_digest.h fb08f8cd2f Initial import. 5 år sedan
http_negotiate.c fb08f8cd2f Initial import. 5 år sedan
http_negotiate.h fb08f8cd2f Initial import. 5 år sedan
http_ntlm.c fb08f8cd2f Initial import. 5 år sedan
http_ntlm.h fb08f8cd2f Initial import. 5 år sedan
if2ip.c fb08f8cd2f Initial import. 5 år sedan
if2ip.h fb08f8cd2f Initial import. 5 år sedan
inet_ntoa_r.h fb08f8cd2f Initial import. 5 år sedan
inet_pton.c fb08f8cd2f Initial import. 5 år sedan
inet_pton.h fb08f8cd2f Initial import. 5 år sedan
krb4.c fb08f8cd2f Initial import. 5 år sedan
krb4.h fb08f8cd2f Initial import. 5 år sedan
ldap.c fb08f8cd2f Initial import. 5 år sedan
ldap.h fb08f8cd2f Initial import. 5 år sedan
libcurl.def fb08f8cd2f Initial import. 5 år sedan
libcurl.framework.make fb08f8cd2f Initial import. 5 år sedan
libcurl.imp fb08f8cd2f Initial import. 5 år sedan
libcurl.plist fb08f8cd2f Initial import. 5 år sedan
libcurl.rc fb08f8cd2f Initial import. 5 år sedan
llist.c fb08f8cd2f Initial import. 5 år sedan
llist.h fb08f8cd2f Initial import. 5 år sedan
makefile.amiga fb08f8cd2f Initial import. 5 år sedan
makefile.dj fb08f8cd2f Initial import. 5 år sedan
md5.c fb08f8cd2f Initial import. 5 år sedan
md5.h fb08f8cd2f Initial import. 5 år sedan
memdebug.c fb08f8cd2f Initial import. 5 år sedan
memdebug.h fb08f8cd2f Initial import. 5 år sedan
mprintf.c fb08f8cd2f Initial import. 5 år sedan
multi.c fb08f8cd2f Initial import. 5 år sedan
netrc.c fb08f8cd2f Initial import. 5 år sedan
netrc.h fb08f8cd2f Initial import. 5 år sedan
nwlib.c fb08f8cd2f Initial import. 5 år sedan
progress.c fb08f8cd2f Initial import. 5 år sedan
progress.h fb08f8cd2f Initial import. 5 år sedan
security.c fb08f8cd2f Initial import. 5 år sedan
security.h fb08f8cd2f Initial import. 5 år sedan
sendf.c fb08f8cd2f Initial import. 5 år sedan
sendf.h fb08f8cd2f Initial import. 5 år sedan
setup.h fb08f8cd2f Initial import. 5 år sedan
share.c fb08f8cd2f Initial import. 5 år sedan
share.h fb08f8cd2f Initial import. 5 år sedan
speedcheck.c fb08f8cd2f Initial import. 5 år sedan
speedcheck.h fb08f8cd2f Initial import. 5 år sedan
ssluse.c fb08f8cd2f Initial import. 5 år sedan
ssluse.h fb08f8cd2f Initial import. 5 år sedan
strequal.c fb08f8cd2f Initial import. 5 år sedan
strequal.h fb08f8cd2f Initial import. 5 år sedan
strtok.c fb08f8cd2f Initial import. 5 år sedan
strtok.h fb08f8cd2f Initial import. 5 år sedan
strtoofft.c fb08f8cd2f Initial import. 5 år sedan
strtoofft.h fb08f8cd2f Initial import. 5 år sedan
telnet.c fb08f8cd2f Initial import. 5 år sedan
telnet.h fb08f8cd2f Initial import. 5 år sedan
timeval.c fb08f8cd2f Initial import. 5 år sedan
timeval.h fb08f8cd2f Initial import. 5 år sedan
transfer.c fb08f8cd2f Initial import. 5 år sedan
transfer.h fb08f8cd2f Initial import. 5 år sedan
url.c fb08f8cd2f Initial import. 5 år sedan
url.h fb08f8cd2f Initial import. 5 år sedan
urldata.h fb08f8cd2f Initial import. 5 år sedan
version.c fb08f8cd2f Initial import. 5 år sedan

README.ares

$Id: README.ares,v 1.9 2004/01/09 07:45:47 bagder Exp $
_ _ ____ _
___| | | | _ \| |
/ __| | | | |_) | |
| (__| |_| | _ <| |___
\___|\___/|_| \_\_____|

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

ares:
ftp://athena-dist.mit.edu/pub/ATHENA/ares/ares-1.1.1.tar.gz
http://curl.haxx.se/dev/ares-1.1.1.tar.gz
http://curl.sourceforge.net/dev/ares-1.1.1.tar.gz
http://curl.planetmirror.com/dev/ares-1.1.1.tar.gz
http://curl.tsuren.net/dev/ares-1.1.1.tar.gz

c-ares: (a patched and improved version of ares)
http://curl.haxx.se/beta/arescurl-1.0-pre1.tar.gz

NOTE
libcurl works with ares 1.1.1, but several patches and improvements have
been put into the c-ares package which has made it more portable and better
working on several platforms.

Build ares
==========

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

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

1. name the ares source directory 'ares' in the curl source directory
2. ./configure --enable-ares
3. make

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

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

Ares and ipv6
=============

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

Ares on win32
=============
(description brought by Dominick Meglio)

First I compiled curl-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.