Yang Tse
405e18571e
- David Byron modified Makefile.dist vc8 and vc9 targets in order to allow
...
finer granularity control when generating src and lib makefiles.
2009-11-23 16:48:31 +00:00
Yang Tse
094afbeb56
Enhance some debug messages for initialization failures.
...
Fix compiler warning: conditional expression is constant.
2009-11-23 16:11:50 +00:00
Daniel Stenberg
1fddcb3f88
- Bjorn Augustsson reported a bug which made curl not report any problems even
...
though it failed to write a very small download to disk (done in a single
fwrite call). It turned out to be because fwrite() returned success, but
there was insufficient error-checking for the fclose() call which tricked
curl to believe things were fine.
2009-11-23 13:56:45 +00:00
Yang Tse
b723500af0
Daniel wants upcoming release to be 1.7.0
2009-11-23 12:03:32 +00:00
Yang Tse
4bfa0b08de
Mention last changes
2009-11-23 11:35:53 +00:00
Yang Tse
e536cb085f
- Removed from external interface preprocessor symbol definition for
...
CARES_HAVE_ARES_FREE_DATA. Current functionality of ares_free_data()
makes it unnecessary.
2009-11-23 11:26:29 +00:00
Yang Tse
083e2df4ed
Added README.msvc
2009-11-23 11:07:16 +00:00
Yang Tse
b7997d8a3b
Changed c-ares naming conventions when using MSVC as described in README.msvc
2009-11-23 11:05:47 +00:00
Daniel Stenberg
c80b593e5b
fixed CURLOPT_TFTP_BLKSIZE typo
2009-11-23 09:31:55 +00:00
Yang Tse
e37f8164a9
- Mention other recent changes
2009-11-23 01:54:55 +00:00
Yang Tse
35d4c57051
- Jakub Hrozek renamed addrttl and addr6ttl structs to ares_addrttl and
...
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 01:24:17 +00:00
Yang Tse
f6114f2ec4
- Jakub Hrozek fixed more function prototypes in man pages to sync them
...
with the ones declared in ares.h
2009-11-23 00:57:50 +00:00
Yang Tse
f9e55c9908
Make configure remove the curlbuild.h file included in distribution tarballs
...
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-22 05:31:57 +00:00
Yang Tse
3005e63b02
Make configure remove the ares_build.h file included in distribution tarballs.
2009-11-22 05:31:31 +00:00
Yang Tse
65e628cc97
Fix macro redefinition.
2009-11-22 03:51:07 +00:00
Yang Tse
738e547815
Fix name space pollution.
2009-11-22 03:41:26 +00:00
Yang Tse
5ec8a3ae06
Allow using different extra import libraries for debug and release builds.
2009-11-22 03:40:42 +00:00
Yang Tse
fdfbc5d8da
Add manifest stuff to msvc makefile
2009-11-21 13:28:07 +00:00
Daniel Stenberg
504e6d7ae6
- Constantine Sapuntzakis identified a write after close, as the sockets were
...
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-20 19:32:49 +00:00
Yang Tse
c3266a5eb1
Sync man page with reality
2009-11-20 14:15:05 +00:00
Yang Tse
ced1e1e726
Add missing external API decoration for ares_set_socket_callback()
2009-11-20 14:11:06 +00:00
Daniel Stenberg
a41493b3b0
- Jad Chamcham pointed out a bug with connection re-use. If a connection had
...
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-20 13:27:21 +00:00
Yang Tse
6da73d09f1
Add ares_free_data() man page.
2009-11-20 13:02:41 +00:00
Yang Tse
4c0ffd33f5
- Provide in external interface preprocessor symbol definitions for
...
CARES_HAVE_ARES_FREE_DATA as an indication of function availability.
2009-11-20 13:01:35 +00:00
Yang Tse
99363a0ee1
Remove typecast
2009-11-20 09:57:25 +00:00
Yang Tse
71260534f9
Fix comment
2009-11-20 09:54:15 +00:00
Yang Tse
5e62be1d8c
Add ares_data.c and ares_data.h
2009-11-20 09:14:37 +00:00
Yang Tse
7e6a67b436
Jakub Hrozek modified ares_parse_srv_reply() and ares_parse_txt_reply() API
...
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-20 09:06:33 +00:00
Yang Tse
5a0a473c30
Initial support for the generic ares_free_data() function that will allow
...
applications to free memory allocated and returned by some c-ares funtions.
2009-11-20 08:50:03 +00:00
Yang Tse
5129442ee7
Explicit initialization of all FTP struct members in ftp_init()
2009-11-19 17:21:56 +00:00
Yang Tse
e8fd5d8062
Fix compiler warning: ISO C90 forbids mixed declarations and code
2009-11-18 11:53:31 +00:00
Yang Tse
2f6dcaa644
Make memory tracking system intolerant with zero sized malloc(),
...
calloc() and realloc() function calls.
2009-11-18 11:21:58 +00:00
Yang Tse
59939313f8
Make usage of calloc()'s arguments consistent with rest of code base
2009-11-18 10:33:54 +00:00
Yang Tse
961c504ca5
workaround icc 9.1 optimizer issue
2009-11-18 02:57:34 +00:00
Daniel Stenberg
b32d1a9a1d
- Constantine Sapuntzakis provided another fix for the DNS cache that could
...
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 22:53:55 +00:00
Daniel Stenberg
4c8adc8fee
- Marc Kleine-Budde fixed: curl saved the LDFLAGS set during configure into
...
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-17 18:11:06 +00:00
Yang Tse
69ac7b0cf8
Add icc fvisibility bug test
2009-11-16 23:01:37 +00:00
Yang Tse
09526fc9e9
Fix icc 9.0 compiler warning: external definition with no prior declaration
2009-11-16 20:02:12 +00:00
Yang Tse
f0068267ee
Update serial number
2009-11-16 01:56:45 +00:00
Yang Tse
7db7c0af4f
Fix three var names
2009-11-16 01:56:16 +00:00
Yang Tse
6bf10a111f
Add check for assert.h header file
2009-11-16 01:55:48 +00:00
Kamil Dudka
530fde3a22
- David Byron improved the configure script to use pkg-config to find OpenSSL
...
(and in particular the list of required libraries) even if a path is given
as argument to --with-ssl
2009-11-15 15:23:43 +00:00
Yang Tse
5b3be2ee35
getaddrinfo is fully thread safe on solaris versions which
...
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-15 13:43:15 +00:00
Yang Tse
3b8d7fddf7
Client certificate ENG file type requires OpenSSL 0.9.7 or newer
2009-11-15 12:58:50 +00:00
Yang Tse
0e80f0e4c4
Remove files generated on previous buildconf/configure run
2009-11-15 03:47:13 +00:00
Yang Tse
a2ddb0a61b
Add a couple of renamed files to the removal list
2009-11-15 03:46:14 +00:00
Yang Tse
581ce03345
Remove enable-thread / disable-thread configure option. These were only placebo
...
options. The library is always built as thread safe as possible on every system.
2009-11-15 02:45:23 +00:00
Claes Jakobsson
f7f76e17c3
Added '--configure' option to curl-config to display original configure arguments when curl was built
2009-11-14 19:23:26 +00:00
Yang Tse
1cbc93fb54
Refactor how preprocessor symbol _THREAD_SAFE definition is done.
2009-11-14 18:51:37 +00:00
Yang Tse
a8ddd6ce31
OpenSSL 0.9.7 or newer required for ENGINE_CTRL_GET_CMD_FROM_NAME definition
2009-11-14 11:33:49 +00:00