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

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.