aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-23- Jakub Hrozek renamed addrttl and addr6ttl structs to ares_addrttl andYang Tse
ares_addr6ttl in order to prevent name space pollution, along with necessary changes to code base and man pages.This change does not break ABI, there is no need to recompile existing applications. But existing applications using these structs with the old name will need source code adjustments when recompiled using c-ares 1.6.1.
2009-11-23- Jakub Hrozek fixed more function prototypes in man pages to sync themYang Tse
with the ones declared in ares.h
2009-11-22Make configure remove the curlbuild.h file included in distribution tarballsYang Tse
for use by non-configure systems. As intended, configure would overwrite the distributed one when doing in-tree builds. But VPATH builds would end having two curlbuild.h files, one in the source tree and another in the build tree.
2009-11-22Make configure remove the ares_build.h file included in distribution tarballs.Yang Tse
2009-11-22Fix macro redefinition.Yang Tse
2009-11-22Fix name space pollution.Yang Tse
2009-11-22Allow using different extra import libraries for debug and release builds.Yang Tse
2009-11-21Add manifest stuff to msvc makefileYang Tse
2009-11-20- Constantine Sapuntzakis identified a write after close, as the sockets wereDaniel Stenberg
closed by libcurl before the SSL lib were shutdown and they may write to its socket. Detected to at least happen with OpenSSL builds.
2009-11-20Sync man page with realityYang Tse
2009-11-20Add missing external API decoration for ares_set_socket_callback()Yang Tse
2009-11-20- Jad Chamcham pointed out a bug with connection re-use. If a connection hadDaniel Stenberg
CURLOPT_HTTPPROXYTUNNEL enabled over a proxy, a subsequent request using the same proxy with the tunnel option disabled would still wrongly re-use that previous connection and the outcome would only be badness.
2009-11-20Add ares_free_data() man page.Yang Tse
2009-11-20- Provide in external interface preprocessor symbol definitions forYang Tse
CARES_HAVE_ARES_FREE_DATA as an indication of function availability.
2009-11-20Remove typecastYang Tse
2009-11-20Fix commentYang Tse
2009-11-20Add ares_data.c and ares_data.hYang Tse
2009-11-20Jakub Hrozek modified ares_parse_srv_reply() and ares_parse_txt_reply() APIYang Tse
to return a linked lists of results. These were also modified to internally use the ares_data memory struct and as such its result must be free'ed with ares_free_data().
2009-11-20Initial support for the generic ares_free_data() function that will allowYang Tse
applications to free memory allocated and returned by some c-ares funtions.
2009-11-19Explicit initialization of all FTP struct members in ftp_init()Yang Tse
2009-11-18Fix compiler warning: ISO C90 forbids mixed declarations and codeYang Tse
2009-11-18Make memory tracking system intolerant with zero sized malloc(),Yang Tse
calloc() and realloc() function calls.
2009-11-18Make usage of calloc()'s arguments consistent with rest of code baseYang Tse
2009-11-18workaround icc 9.1 optimizer issueYang Tse
2009-11-17- Constantine Sapuntzakis provided another fix for the DNS cache that couldDaniel Stenberg
end up with entries that wouldn't time-out: 1. Set up a first web server that redirects (307) to a http://server:port that's down 2. Have curl connect to the first web server using curl multi After the curl_easy_cleanup call, there will be curl dns entries hanging around with in_use != 0. (http://curl.haxx.se/bug/view.cgi?id=2891591)
2009-11-17- Marc Kleine-Budde fixed: curl saved the LDFLAGS set during configure intoDaniel Stenberg
its pkg-config file. So -Wl stuff ended up in the .pc file, which is really bad, and breaks if there are multiple -Wl in our LDFLAGS (which are in PTXdist). bug #2893592 (http://curl.haxx.se/bug/view.cgi?id=2893592)
2009-11-16Add icc fvisibility bug testYang Tse
2009-11-16Fix icc 9.0 compiler warning: external definition with no prior declarationYang Tse
2009-11-16Update serial numberYang Tse
2009-11-16Fix three var namesYang Tse
2009-11-16Add check for assert.h header fileYang Tse
2009-11-15- David Byron improved the configure script to use pkg-config to find OpenSSLKamil Dudka
(and in particular the list of required libraries) even if a path is given as argument to --with-ssl
2009-11-15getaddrinfo is fully thread safe on solaris versions whichYang Tse
implement the function even when h_errno is not a macro. The h_errno macro test now only done on systems for which there is no hard coded knowledge about getaddrinfo's thread safeness.
2009-11-15Client certificate ENG file type requires OpenSSL 0.9.7 or newerYang Tse
2009-11-15Remove files generated on previous buildconf/configure runYang Tse
2009-11-15Add a couple of renamed files to the removal listYang Tse
2009-11-15Remove enable-thread / disable-thread configure option. These were only placeboYang Tse
options. The library is always built as thread safe as possible on every system.
2009-11-14Added '--configure' option to curl-config to display original configure ↵Claes Jakobsson
arguments when curl was built
2009-11-14Refactor how preprocessor symbol _THREAD_SAFE definition is done.Yang Tse
2009-11-14OpenSSL 0.9.7 or newer required for ENGINE_CTRL_GET_CMD_FROM_NAME definitionYang Tse
2009-11-14- Claes Jakobsson restored the configure functionality to detect NSS whenDaniel Stenberg
--with-nss is set but not "yes". I think we can still improve that to check for pkg-config in that path etc, but at least this patch brings back the same functionality we had before.
2009-11-14- Camille Moncelier added support for the file type SSL_FILETYPE_ENGINE forDaniel Stenberg
the client certificate. It also disable the key name test as some engines can select a private key/cert automatically (When there is only one key and/or certificate on the hardware device used by the engine)
2009-11-14- Constantine Sapuntzakis provided the fix that ensures that an SSL connectionYang Tse
won't be reused unless protection level for peer and host verification match.
2009-11-13Assume that getaddrinfo is thread safe, unless hard codedYang Tse
knowledge says the contrary or h_errno is not defined.
2009-11-13Related with the threadsafe capability of getaddrinfo:Yang Tse
- Constantine Sapuntzakis reported that Darwin 6.0 a.k.a. MAC OS X 10.2 and newer have a threadsafe getaddrinfo. - Fix Dragonfly BSD triplet detection. - In case the hard-coded knowledge says that getaddrinfo is threadsafe, an additional check is done to verify that h_errno is also defined. If h_errno isn't defined, we finally assume that it isn't threadsafe. Jamie Lokier provided the inspiration for this extra check.
2009-11-12AIX 5.2 and newer have threadsafe getaddrinfo.Yang Tse
Add some comments to better understand what the regex's pretend to achieve.
2009-11-12HP-UX 11.11 and later have threadsafe getaddrinfoYang Tse
2009-11-12Constantine Sapuntzakis patch for hostip.cYang Tse
No need for a separate variable ndns. The memory leak detection will detect code that fails to release a dns reference. The DEBUGASSERT will detect code that releases too many references.
2009-11-12Check if getaddrinfo is threadsafe when function check allows it to be usedYang Tse
2009-11-12Add missing variable initializationYang Tse