Yang Tse 46de140aca 14 years ago
..
.cvsignore cf367a62ce more files to ignore 14 years ago
CMakeLists.txt a8ea1e9ef4 ENH: add optional support for c-ares 15 years ago
Makefile.Watcom 1d86ebfc88 add curl_threads.c to non-configure target build files 14 years ago
Makefile.am ec3bb8f727 introducing IMAP, POP3 and SMTP support (still lots of polish left to do) 14 years ago
Makefile.b32 4677778f85 Remove empty line used to force CVS to update the $Id date string format 15 years ago
Makefile.inc c054b8bfa7 Constantine Sapuntzakis provided initial thread abstraction layer 14 years ago
Makefile.m32 5931cf77f4 DEBUGBUILD / CURLDEBUG decoupling follow-up 15 years ago
Makefile.netware 3c199daa95 changed NetWare makefiles to rely on SHELL rather than OSTYPE since we can have a sh-like shell also on Windows (MSYS, Cygwin). 14 years ago
Makefile.riscos 1d86ebfc88 add curl_threads.c to non-configure target build files 14 years ago
Makefile.vc6 1d86ebfc88 add curl_threads.c to non-configure target build files 14 years ago
Makefile.vxworks 01b74950b7 Igor Novoseltsev adjusted Makefile.vxworks to get sources and headers 15 years ago
README.ares 4c663ba9a8 When transferring 500 downloads in parallel with a c-ares enabled build only 17 years ago
README.cmake 41de897b6b describe the cmake situation 14 years ago
README.curl_off_t 1056202b48 spell! (most of it fixed by Tor Arntsen) 16 years ago
README.curlx 4677778f85 Remove empty line used to force CVS to update the $Id date string format 15 years ago
README.encoding 1e5f6cc1dc Fixed a lingering omission of gzip support. 18 years ago
README.hostip 4d1f3d3cd0 Added README.hostip 19 years ago
README.httpauth 3e1caa6185 HTTP "auth done right". See lib/README.httpauth 19 years ago
README.memoryleak b1db9dbb16 corrected how tests/memanalyze.pl is used 17 years ago
README.multi_socket 88fe6557e9 refreshed 14 years ago
README.pingpong ec3bb8f727 introducing IMAP, POP3 and SMTP support (still lots of polish left to do) 14 years ago
README.pipelining e92e811a61 updated to reflect reality 17 years ago
amigaos.c b2f4308980 Fix Pelles C Win32 target compilation issues 14 years ago
amigaos.h 4e909ee8b1 ntoa() and inet_ntoa_r() no longer used 15 years ago
arpa_telnet.h 4650732f4a Update copyright year, to force CVS to update the $Id date string format 15 years ago
base64.c 1c2947581b fix shadowing of a global declaration 15 years ago
config-amigaos.h 2c0c05e96d 15 years ago
config-mac.h f671d0513c renamed generated config.h to curl_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h. 15 years ago
config-os400.h 581ce03345 14 years ago
config-riscos.h 581ce03345 14 years ago
config-symbian.h 581ce03345 14 years ago
config-tpf.h 581ce03345 14 years ago
config-vxworks.h 581ce03345 14 years ago
config-win32.h 9b0e57b0f7 resolver selection for non-configure Windows builds, default is threaded DNS 14 years ago
config-win32ce.h 9cc6ab3922 use HAVE_LIMITS_H symbol to protect limits.h inclusion 15 years ago
config.dos 3f8d3e9c50 Update memory tracking/debugging reference 14 years ago
connect.c d65cf7889b 14 years ago
connect.h d709cb2ae3 - Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses for 15 years ago
content_encoding.c 33ce0ec1f1 wrap long lines and do some indent policing 14 years ago
content_encoding.h 242a17b9e0 - Balint Szilakszi reported a memory leak when libcurl did gzip decompression 15 years ago
cookie.c d65cf7889b 14 years ago
cookie.h 794b4da840 Indentation fixes, untabify and related whitespace-cleanup. No code changed. 15 years ago
curl_addrinfo.c ccfe279117 Constantine Sapuntzakis enhancements to make memory tracking log file writing 14 years ago
curl_addrinfo.h 3184a91ec8 VMS specific preprocessor symbol checking adjustments 14 years ago
curl_base64.h 1c2947581b fix shadowing of a global declaration 15 years ago
curl_config.h.cmake 340e3b952f ENH: move config.h.cmake to curl_config.h.cmake so it builds again 15 years ago
curl_ldap.h 07b6e7363d Added per-protocol callback static tables, replacing callback ptr storage 16 years ago
curl_md5.h bbe2386bff libcurl internal md5.h header file renamed to curl_md5.h 16 years ago
curl_memory.h 33a3753c3f libcurl's memory.h renamed to curl_memory.h 15 years ago
curl_memrchr.c 78d07cb0f9 Removed some extraneous carriage return characters 14 years ago
curl_memrchr.h 78d07cb0f9 Removed some extraneous carriage return characters 14 years ago
curl_rand.c f2f45339dc Moved Curl_rand() and Curl_srand() code from formdata.c and formdata.h 14 years ago
curl_rand.h f2f45339dc Moved Curl_rand() and Curl_srand() code from formdata.c and formdata.h 14 years ago
curl_sspi.c 33a3753c3f libcurl's memory.h renamed to curl_memory.h 15 years ago
curl_sspi.h a97f52db20 Provide another definition missing in MinGW's headers 15 years ago
curl_threads.c 6ebd71d186 14 years ago
curl_threads.h c054b8bfa7 Constantine Sapuntzakis provided initial thread abstraction layer 14 years ago
curlx.h d709cb2ae3 - Eric Wong introduced curlx_nonblock() that the curl tool now (re-)uses for 15 years ago
dict.c 4798f4e652 Fix compiler warning: addition result could be truncated before cast to bigger sized type 14 years ago
dict.h 1c2947581b fix shadowing of a global declaration 15 years ago
easy.c 33ce0ec1f1 wrap long lines and do some indent policing 14 years ago
easyif.h 772a985dc3 Update copyright year, since the file has been modified 17 years ago
escape.c 33ce0ec1f1 wrap long lines and do some indent policing 14 years ago
escape.h 5a4b43848a First commit of David McCreedy's EBCDIC and TPF changes. 18 years ago
file.c 59939313f8 Make usage of calloc()'s arguments consistent with rest of code base 14 years ago
file.h 83a6b34803 split out more protocol-specific structs from urldata.h into their own 14 years ago
firefox-db2pem.sh 1c04aa54a7 - Running 'make ca-firefox' in the root build dir will now run the new 16 years ago
formdata.c 33ce0ec1f1 wrap long lines and do some indent policing 14 years ago
formdata.h f2f45339dc Moved Curl_rand() and Curl_srand() code from formdata.c and formdata.h 14 years ago
ftp.c 17a2c32ca9 Julien Chaffraix pointed out a comment mistake, and I re-indented the code 14 years ago
ftp.h 340ab2f87f make Curl_handler_*_proxy definition static 14 years ago
getenv.c 3184a91ec8 VMS specific preprocessor symbol checking adjustments 14 years ago
getinfo.c bc4582b68a Chris Conroy brought support for RTSP transfers, and with it comes 8(!) new 14 years ago
getinfo.h 4650732f4a Update copyright year, to force CVS to update the $Id date string format 15 years ago
gtls.c 3da1ade4e5 added cast macros to silent compiler warnings with 64-bit systems. 14 years ago
gtls.h 9a4c887c4a Added support for Digest and NTLM authentication using GnuTLS. 15 years ago
hash.c fb5f332834 - Constantine Sapuntzakis posted bug #2891595 14 years ago
hash.h 62f0f5571d Robert Iakobashvili re-arranged the internal hash code to work with a custom 17 years ago
hostares.c c82a1f95eb - Mike Crowe made libcurl return CURLE_COULDNT_RESOLVE_PROXY when it is the 14 years ago
hostasyn.c bfc4c33985 Constantine Sapuntzakis refactoring of async callbacks, allowing 14 years ago
hostip.c 597ad5a2ce 14 years ago
hostip.h 483ff1ca75 Constantine Sapuntzakis threaded resolver enhancements 14 years ago
hostip4.c 46de140aca 14 years ago
hostip6.c 483ff1ca75 Constantine Sapuntzakis threaded resolver enhancements 14 years ago
hostsyn.c 3184a91ec8 VMS specific preprocessor symbol checking adjustments 14 years ago
hostthre.c a9b860765d onstantine Sapuntzakis threaded resolver enhancements 14 years ago
http.c 33ce0ec1f1 wrap long lines and do some indent policing 14 years ago
http.h bc4582b68a Chris Conroy brought support for RTSP transfers, and with it comes 8(!) new 14 years ago
http_chunks.c 352177090f - Fabian Keil ran clang on the (lib)curl code, found a bunch of warnings and 15 years ago
http_chunks.h f19d333ef6 - Ravi Pratap provided work on libcurl making pipelining more robust and 17 years ago
http_digest.c 8519682564 Removed some obsolete digest code that caused a valgrind error in test 551. 15 years ago
http_digest.h 8cf0814a14 Fixed some minor type mismatches and missing consts mainly found by splint. 17 years ago
http_negotiate.c 33a3753c3f libcurl's memory.h renamed to curl_memory.h 15 years ago
http_negotiate.h 015d5869d7 Mark Davies fixed Negotiate authentication over proxy, and also introduced 16 years ago
http_ntlm.c de2cc11a73 Julien Chaffraix corrected bad #elif lines to silence warnings 14 years ago
http_ntlm.h 794b4da840 Indentation fixes, untabify and related whitespace-cleanup. No code changed. 15 years ago
if2ip.c 3184a91ec8 VMS specific preprocessor symbol checking adjustments 14 years ago
if2ip.h a15b6a6f86 the IP address we want/request/use from the interface is the 'local' 15 years ago
imap.c 340ab2f87f make Curl_handler_*_proxy definition static 14 years ago
imap.h ec3bb8f727 introducing IMAP, POP3 and SMTP support (still lots of polish left to do) 14 years ago
inet_ntop.c 3800be3898 Remove usage of inet_ntoa and inet_ntoa_r 15 years ago
inet_ntop.h 1cb921b7f3 fix cast for some systems which are broken due to absense of socklen_t, therefore now use curl_socklen_t. 15 years ago
inet_pton.c 73060b4523 backport fix for failures to reject certain malformed literals 15 years ago
inet_pton.h 4d437416da HAVE_INET_PTON will only be defined when an IPv6 capable working 15 years ago
krb4.c 33a3753c3f libcurl's memory.h renamed to curl_memory.h 15 years ago
krb4.h e2b82b4325 - Make Curl_write and it's callees accept a const pointer, in preparation 16 years ago
krb5.c 40c2c3270d - Marco Maggi reported that compilation failed when configured --with-gssapi 14 years ago
ldap.c d7cd761047 Oops, should have removed 'not' in previous commit. 14 years ago
libcurl.def fd870e4e8a Yang Tse: msvc7+ has deprecated the 'DESCRIPTION' section in 18 years ago
libcurl.imp 9075195ec4 added missing curl_easy_pause to export list. 15 years ago
libcurl.plist 1be1d3cfb8 Matt Veenstra updated to 7.12.3. Starting now, we'll update the version number 19 years ago
libcurl.rc 5931cf77f4 DEBUGBUILD / CURLDEBUG decoupling follow-up 15 years ago
llist.c 33a3753c3f libcurl's memory.h renamed to curl_memory.h 15 years ago
llist.h b3de497d83 Dmitry Kurochkin worked a lot on improving the HTTP Pipelining support that 16 years ago
makefile.amiga 1d86ebfc88 add curl_threads.c to non-configure target build files 14 years ago
makefile.dj f671d0513c renamed generated config.h to curl_config.h in order to avoid clashes when libcurl is used with other projects which also have a config.h. 15 years ago
md5.c 9a4c887c4a Added support for Digest and NTLM authentication using GnuTLS. 15 years ago
memdebug.c ccfe279117 Constantine Sapuntzakis enhancements to make memory tracking log file writing 14 years ago
memdebug.h afdc3d81e9 update copyright year notice 14 years ago
mk-ca-bundle.pl b718283327 removed obsolete slash in URL. 16 years ago
mprintf.c 33a3753c3f libcurl's memory.h renamed to curl_memory.h 15 years ago
msvcproj.foot b992928f3d Store now this file in CVS with unix line endings. 14 years ago
msvcproj.head 8b66981ce0 - I renamed everything in the windows builds files that used the name 'curllib' 15 years ago
multi.c 55f1e787f3 We introduce a loop in lib/multi.c around all calls to multi_runsingle() and 14 years ago
multiif.h 2c16681225 Adjusted to take in account that... 15 years ago
netrc.c 3184a91ec8 VMS specific preprocessor symbol checking adjustments 14 years ago
netrc.h bdf1157d55 Made a parameter const 16 years ago
nonblock.c 3184a91ec8 VMS specific preprocessor symbol checking adjustments 14 years ago
nonblock.h bdbfe1f8a9 add these new files to CVS as well 15 years ago
nss.c fb2425b147 lib/nss.c: avoid use of uninitialized value 14 years ago
nssg.h 8eee5f3253 Forgot it's a struct 15 years ago
nwlib.c b2f4308980 Fix Pelles C Win32 target compilation issues 14 years ago
nwos.c b2f4308980 Fix Pelles C Win32 target compilation issues 14 years ago
parsedate.c 6f4a5a4612 - Ray Dassen provided a patch in Debian's bug tracker (bug number #551461) 14 years ago
parsedate.h 183c9ce1cf fix copyright year 14 years ago
pingpong.c b0f548fb56 Fix compiler warnings 14 years ago
pingpong.h ec3bb8f727 introducing IMAP, POP3 and SMTP support (still lots of polish left to do) 14 years ago
pop3.c 715e3a806f 14 years ago
pop3.h ec3bb8f727 introducing IMAP, POP3 and SMTP support (still lots of polish left to do) 14 years ago
progress.c 3f56d12830 avoid division by zero 14 years ago
progress.h 7c648782bc Introcuding a new timestamp for curl_easy_getinfo(): 16 years ago
qssl.c 33a3753c3f libcurl's memory.h renamed to curl_memory.h 15 years ago
qssl.h ddfa4b8896 New options added to OS400 wrapper and ILERPG definitions. 16 years ago
rawstr.c bf44d0f640 Moved Curl_strntoupper() to the rawstr.c file where the other raw string 15 years ago
rawstr.h bf44d0f640 Moved Curl_strntoupper() to the rawstr.c file where the other raw string 15 years ago
rtsp.c 35e220606d 14 years ago
rtsp.h 2f3bce1193 14 years ago
security.c 4e75c70874 silence a compiler warning 15 years ago
select.c 21af9bf1cd Fix spelling 14 years ago
select.h 08ac9866e0 Peter Lamberg filed bug report #2015126: "poll gives WSAEINVAL when POLLPRI 16 years ago
sendf.c 33ce0ec1f1 wrap long lines and do some indent policing 14 years ago
sendf.h 4bb80cfd75 14 years ago
setup-os400.h 9137e717b0 Use build-time configured curl_socklen_t instead of socklen_t 15 years ago
setup.h a9b860765d onstantine Sapuntzakis threaded resolver enhancements 14 years ago
setup_once.h 3184a91ec8 VMS specific preprocessor symbol checking adjustments 14 years ago
share.c 59939313f8 Make usage of calloc()'s arguments consistent with rest of code base 14 years ago
share.h 414c57d138 Added support for Salford-C under Win32 (scc). HAVE_MALLOC_H and 18 years ago
slist.c 33a3753c3f libcurl's memory.h renamed to curl_memory.h 15 years ago
slist.h bdec6f2b20 - Frank Hempel found out a bug and provided the fix: 15 years ago
smtp.c 340ab2f87f make Curl_handler_*_proxy definition static 14 years ago
smtp.h 6c6dc3f879 modified to get the EHLO domain from the path part of the URL instead of the 14 years ago
sockaddr.h 4650732f4a Update copyright year, to force CVS to update the $Id date string format 15 years ago
socks.c fad14bca01 removed obsolete casts. 15 years ago
socks.h de4610a55f - Markus Moeller introduced two new options to libcurl: 15 years ago
socks_gssapi.c 0abd928d3d 14 years ago
socks_sspi.c 0abd928d3d 14 years ago
speedcheck.c d65cf7889b 14 years ago
speedcheck.h 4650732f4a Update copyright year, to force CVS to update the $Id date string format 15 years ago
splay.c 2c16681225 Adjusted to take in account that... 15 years ago
splay.h 2c16681225 Adjusted to take in account that... 15 years ago
ssh.c 9bc897f380 Andre Guibert de Bruet improved the libssh2 error code translation 14 years ago
ssh.h 83a6b34803 split out more protocol-specific structs from urldata.h into their own 14 years ago
sslgen.c 59939313f8 Make usage of calloc()'s arguments consistent with rest of code base 14 years ago
sslgen.h a16cca7680 - Michael Smith posted bug report #2786255 15 years ago
ssluse.c d65cf7889b 14 years ago
ssluse.h 4c9768565e - Introducing CURLOPT_CERTINFO and the corresponding CURLINFO_CERTINFO. By 16 years ago
strdup.c 59e378f48f remove unnecessary typecasting of malloc() 16 years ago
strdup.h 37a358ab93 move multiple header inclusion prevention definition to top of file 16 years ago
strequal.c b701ea36a7 moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_ 15 years ago
strequal.h b701ea36a7 moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_ 15 years ago
strerror.c bc4582b68a Chris Conroy brought support for RTSP transfers, and with it comes 8(!) new 14 years ago
strerror.h 4650732f4a Update copyright year, to force CVS to update the $Id date string format 15 years ago
strtok.c cbd1a77ec2 if () => if() 16 years ago
strtok.h 37a358ab93 move multiple header inclusion prevention definition to top of file 16 years ago
strtoofft.c ad6e28073c removed space after if and while before the parenthesis for better source code 16 years ago
strtoofft.h 4dbfc91e2b MSVC's __int64 data type is only available when _INTEGRAL_MAX_BITS >= 64 16 years ago
telnet.c 33a3753c3f libcurl's memory.h renamed to curl_memory.h 15 years ago
telnet.h 07b6e7363d Added per-protocol callback static tables, replacing callback ptr storage 16 years ago
tftp.c d65cf7889b 14 years ago
tftp.h 07b6e7363d Added per-protocol callback static tables, replacing callback ptr storage 16 years ago
timeval.c 97333deb3f fallback to gettimeofday when monotonic clock is unavailable at run-time 16 years ago
timeval.h 584f3639e3 update copyright year 17 years ago
transfer.c fce02e1cab 14 years ago
transfer.h 8b5102ca83 - Andre Guibert de Bruet pointed out a missing return code check for a 15 years ago
url.c d65cf7889b 14 years ago
url.h e84c7db049 - Constantine Sapuntzakis fixed bug report #2784055 15 years ago
urldata.h 1435864030 Definitions of resolver specialty compile-time defines CURLRES_* moved 14 years ago
vc6libcurl.dsw 9314e9e853 Fix CR 15 years ago
vc8proj.foot e994c6af75 Use DOS line-endings. 17 years ago
vc8proj.head 8b66981ce0 - I renamed everything in the windows builds files that used the name 'curllib' 15 years ago
version.c 597ad5a2ce 14 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
The latest libcurl version requires c-ares 1.4.0 or later.

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

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.