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

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.