Daniel Stenberg
d27519c0ca
Add missing cmake files to the tarball (thanks to Richard Atterer's report)
2009-04-27 12:26:41 +00:00
Daniel Stenberg
14df44dd3f
- Bug report #2779733 ( http://curl.haxx.se/bug/view.cgi?id=2779733 ) by Sven
...
Wegener pointed out that CURLINFO_APPCONNECT_TIME didn't work with the multi
interface and provided a patch that fixed the problem!
2009-04-26 11:56:22 +00:00
Yang Tse
c0d929bed9
Further narrow the use of the icc 9.1 optimizer workaround.
...
Previous workaround proved useful, and finally did not trigger any warning!
2009-04-25 10:24:11 +00:00
Daniel Stenberg
828a26286d
- Kamil Dudka fixed another NSS-related leak when client certs were used.
2009-04-24 21:55:18 +00:00
Yang Tse
651b4b9efa
Try a simpler variation of the 'volatile' variables icc 9.1 on unix IA32 workaround.
...
Previous workaround proved useful, but triggered the following warning:
warning #556 : a value of type "volatile Curl_addrinfo *" cannot be assigned to an entity of type "Curl_addrinfo *"
2009-04-24 10:38:12 +00:00
Yang Tse
2236a247d9
Try another variation of the 'volatile' variables icc 9.1 on unix IA32 workaround.
...
The #pragma optimize("", off) attempt did not fix the problem and SIGSEGV's in Curl_freeaddrinfo() were back.
2009-04-23 11:09:20 +00:00
Dan Fandrich
7291f50e8d
Added new libcurl source files to Amiga, RiscOS and VC6 build files.
2009-04-23 04:12:04 +00:00
Yang Tse
bc5677a47b
Disable optimizations when compiling function Curl_freeaddrinfo() with icc 9.1 on unix IA32.
...
Previous 'volatile' variables workaround proved useful, but it triggered the following warning:
warning #167 : argument of type "volatile Curl_addrinfo *" is incompatible with parameter of type "void *"
2009-04-22 15:03:05 +00:00
Yang Tse
33a3753c3f
libcurl's memory.h renamed to curl_memory.h
2009-04-21 11:46:16 +00:00
Yang Tse
9770899a4b
Moved potential inclusion of system's malloc.h and memory.h header files to
...
setup_once.h. Inclusion of each header file is based on the definition of
NEED_MALLOC_H and NEED_MEMORY_H respectively.
2009-04-21 10:26:58 +00:00
Yang Tse
fe8eeb5641
remove unnecessary typecast
2009-04-21 09:03:15 +00:00
Daniel Stenberg
b84876ba69
- Leanic Lefever reported a crash and did some detailed research on why and
...
how it occurs (http://curl.haxx.se/mail/lib-2009-04/0289.html ). The
conclusion was that if an error is detected and Curl_done() is called for
the connection, ftp_done() could at times return another error code that
then would take precedence and that new code confused existing logic that
works for the first error code (CURLE_SEND_ERROR) only.
2009-04-20 21:41:17 +00:00
Yang Tse
4882078469
attempt to workaround icc 9.1 optimizer induced problem
2009-04-19 05:20:04 +00:00
Gisle Vanem
53b2ff4b04
Added 'slist.obj'.
2009-04-18 16:54:15 +00:00
Gisle Vanem
0c89d71aee
Added HAVE_LIMITS_H.
2009-04-18 16:50:09 +00:00
Daniel Stenberg
30f7a2ff20
- Pramod Sharma reported and tracked down a bug when doing FTP over a HTTP
...
proxy. libcurl would then wrongly close the connection after each
request. In his case it had the weird side-effect that it killed NTLM auth
for the proxy causing an inifinite loop!
I added test case 1098 to verify this fix. The test case does however not
properly verify that the transfers are done persistently - as I couldn't
think of a clever way to achieve it right now - but you need to read the
stderr output after a test run to see that it truly did the right thing.
2009-04-17 12:48:24 +00:00
Yang Tse
ce7b565595
further narrow the use of the icc 9.1 optimizer workaround
2009-04-17 07:30:25 +00:00
Yang Tse
41fd08bb0d
attempt to workaround icc 9.1 optimizer induced problem
2009-04-16 08:31:09 +00:00
Gunter Knauf
f7400212fc
moved HAVE_LIMITS_H to common defines (no idea why I didnt this initially already)
2009-04-15 04:11:33 +00:00
Yang Tse
6434b42481
HAVE_LIMITS_H definition for NetWare CLIB
2009-04-14 23:51:12 +00:00
Daniel Stenberg
dd0b38b32f
first take at bundling cmake-related files in the tarball
2009-04-14 22:00:37 +00:00
Yang Tse
9cc6ab3922
use HAVE_LIMITS_H symbol to protect limits.h inclusion
2009-04-14 13:50:32 +00:00
Yang Tse
2c27e24bb4
include <limits.h> for INT_MAX definition
2009-04-14 13:26:06 +00:00
Yang Tse
c382c550e7
fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value
2009-04-14 12:53:53 +00:00
Daniel Stenberg
97f27ea585
Kamil Dudka's follow-up fix
2009-04-14 09:40:53 +00:00
Daniel Stenberg
379bfa5a36
- bug report #2727981 ( http://curl.haxx.se/bug/view.cgi?id=2727981 ) by Martin
...
Storsjo pointed out how setting CURLOPT_NOBODY to 0 could be downright
confusing as it set the method to either GET or HEAD. The example he showed
looked like:
curl_easy_setopt(curl, CURLOPT_PUT, 1);
curl_easy_setopt(curl, CURLOPT_NOBODY, 0);
The new way doesn't alter the method until the request is about to start. If
CURLOPT_NOBODY is then 1 the HTTP request will be HEAD. If CURLOPT_NOBODY is
0 and the request happens to have been set to HEAD, it will then instead be
set to GET. I believe this will be less surprising to users, and hopefully
not hit any existing users badly.
2009-04-13 18:01:02 +00:00
Daniel Stenberg
235c0077b8
- Toshio Kuratomi reported a memory leak problem with libcurl+NSS that turned
...
out to be leaking cacerts. Kamil Dudka helped me complete the fix. The issue
is found in Redhat's bug tracker:
https://bugzilla.redhat.com/show_bug.cgi?id=453612
There are still memory leaks present, but they seem to have other reasons.
2009-04-13 17:42:10 +00:00
Yang Tse
c621546bd6
fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value
2009-04-13 07:18:39 +00:00
Dan Fandrich
e43606eb4d
Added new libcurl source files to Symbian OS build files.
...
Improved Symbian support for SSL.
2009-04-11 07:06:34 +00:00
Yang Tse
6a378a28b4
Use 'curl_socket_t' instead of 'int' for socket.
...
Avoid unnecessary'if-else' nesting.
2009-04-11 06:36:47 +00:00
Yang Tse
95368d9cb4
fix compiler warning: enumerated type mixed with another type
2009-04-11 02:11:02 +00:00
Benoit Neil
4d396169c8
Cleaned up the custom definition I added (replaced by CURL_STATICLIB)
2009-04-09 19:59:38 +00:00
Gunter Knauf
4cd950900b
some minor Makefile tweaks for latest libssh2.
2009-04-09 02:50:09 +00:00
Benoit Neil
0e98f938c4
Fixed missing HAVE_PROCESS_H (caused a warning)
2009-04-08 20:54:36 +00:00
Benoit Neil
25f626cc52
Fixed compile defines in CMake scripts
2009-04-08 11:42:45 +00:00
Benoit Neil
8cb8371011
Made the CMake scripts read Makefile.inc. Needs testing I guess.
2009-04-06 22:45:17 +00:00
Benoit Neil
b85154f13f
Added tests (exes) targets, refactor a few things.
...
PS: Once again, sorry if the added files have executable perms on Linux.
2009-04-06 21:05:44 +00:00
Benoit Neil
06047d9103
Added curl (exe) target, fixed static/dynamic linking errors.
...
PS: Sorry if the added file has executable perms on Linux, I didn't found anything related to it...
2009-04-06 20:44:01 +00:00
Benoit Neil
2362637e90
Removed the "lib" prefix under linux ("was "liblibcurl") and fixed import library name under Win32 (Added "_imp" for dynamically linked).
2009-04-06 19:43:52 +00:00
Yang Tse
0211e420ed
fix compiler warning: passing arg 1 of `sk_num' from incompatible pointer type
2009-04-03 12:08:32 +00:00
Benoit Neil
9a184e0bb1
Added basic OpenSSL support in CMake scripts (Thanks to Bill Hoffman)
2009-04-02 23:12:22 +00:00
Benoit Neil
4c5307b456
Initial CMake scripts (libcurl only), based on the merge of tetest scripts and mine. These are far to be functionnal yet.
...
PS: Hello world :)
2009-04-02 13:14:53 +00:00
Daniel Stenberg
a06b36dee0
- Andre Guibert de Bruet fixed a NULL pointer use in an infof() call if a
...
strdup() call failed.
2009-04-01 12:15:37 +00:00
Dan Fandrich
18e1bee8d5
Properly return an error code in curl_easy_recv (reported by Jim Freeman).
2009-03-31 14:49:25 +00:00
Gunter Knauf
41f76801eb
some minor Makefile tweaks.
2009-03-29 19:40:00 +00:00
Daniel Stenberg
5f19822e37
- Kamil Dudka brought a patch that enables 6 additional crypto algorithms when
...
NSS is used. These ciphers were added in NSS 3.4 and require to be enabled
explicitly.
2009-03-18 12:48:51 +00:00
Gisle Vanem
0ac8e1d80b
If CURL_DISABLE_PROXY is defined, we must allow socks_sspi.c to call
...
Curl_blockread_all(). It is needed in code inside USE_WINDOWS_SSPI.
2009-03-15 13:43:47 +00:00
Daniel Stenberg
74ba4d7950
- Use libssh2_version() to present the libssh2 version in case the libssh2
...
library is found to support it.
2009-03-13 09:58:15 +00:00
Yang Tse
fa96436661
Fix TELNET transfers not being aborted upon write callback failures
2009-03-12 13:18:25 +00:00
Yang Tse
d15b8273d6
Add Curl_read() return code checking
2009-03-12 02:12:05 +00:00