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

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.