Daniel Stenberg [Tue, 2 Mar 2010 22:02:56 +0000 (22:02 +0000)]
- [Daniel Johnson] I've been trying to build libcurl with clang on Darwin and
ran into some issues with the GSSAPI tests in configure.ac. The tests first
try to determine the include dirs and libs and set CPPFLAGS and LIBS
accordingly. It then checks for the headers and finally sets LIBS a second
time, causing the libs to be included twice. The first setting of LIBS seems
redundant and should be left out, since the first part is otherwise just
about finding headers.
My second issue is that 'krb5-config --libs gssapi' on Darwin is less than
useless and returns junk that, while it happens to work with gcc, causes
clang to choke. For example, --libs returns $CFLAGS along with the libs,
which is really retarded. Simply setting 'LIBS="$LIBS -lgssapi_krb5
-lresolv"' on Darwin is sufficient.
Daniel Stenberg [Tue, 2 Mar 2010 21:20:22 +0000 (21:20 +0000)]
- Based on patch provided by Jacob Moshenko, the transfer logic now properly
makes sure that when using sub-second timeouts, there's no final bad 1000ms
wait. Previously, a sub-second timeout would often make the elapsed time end
up the time rounded up to the nearest second (e.g. 1s for 200ms timeout)
Daniel Stenberg [Tue, 2 Mar 2010 13:47:58 +0000 (13:47 +0000)]
update the generic copyright year range to include 2010
Daniel Stenberg [Tue, 2 Mar 2010 13:41:18 +0000 (13:41 +0000)]
- Andrei Benea filed bug report #2956698 and pointed out that the
CURLOPT_CERTINFO feature leaked memory due to a missing OpenSSL function
call. He provided the patch to fix it too.
http://curl.haxx.se/bug/view.cgi?id=2956698
Daniel Stenberg [Tue, 2 Mar 2010 13:34:57 +0000 (13:34 +0000)]
- Markus Duft pointed out in bug #2961796 that even though Interix has a
poll() function it doesn't quite work the way we want it so we must disable
it, and he also provided a patch for it.
http://curl.haxx.se/bug/view.cgi?id=2961796
Daniel Stenberg [Tue, 2 Mar 2010 13:26:23 +0000 (13:26 +0000)]
- Made the pingpong timeout code properly deal with the response timeout AND
the global timeout if set. Also, as was reported in the bug report #2956437
by Ryan Chan, the time stamp to use as basis for the per command timeout was
not set properly in the DONE phase for FTP (and not for SMTP) so I fixed
that just now. This was a regression compared to 7.19.7 due to the
conversion of FTP code over to the generic pingpong concepts.
http://curl.haxx.se/bug/view.cgi?id=2956437
Daniel Stenberg [Tue, 2 Mar 2010 13:05:02 +0000 (13:05 +0000)]
remove assignment never used
Daniel Stenberg [Mon, 1 Mar 2010 22:14:47 +0000 (22:14 +0000)]
- Ben Greear provided an update for TFTP that fixes upload.
Daniel Stenberg [Mon, 1 Mar 2010 22:10:55 +0000 (22:10 +0000)]
SSL, not SSH, SSL
Daniel Stenberg [Mon, 1 Mar 2010 21:59:07 +0000 (21:59 +0000)]
- Wesley Miaw reported bug #2958179 which identified a case of looping during
OpenSSL based SSL handshaking even though the multi interface was used and
there was no good reason for it.
http://curl.haxx.se/bug/view.cgi?id=2958179
Yang Tse [Sun, 28 Feb 2010 02:51:35 +0000 (02:51 +0000)]
Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
Yang Tse [Sun, 28 Feb 2010 02:50:51 +0000 (02:50 +0000)]
Added ares_nowarn.* to VC6 project file
Daniel Stenberg [Fri, 26 Feb 2010 22:58:24 +0000 (22:58 +0000)]
spellchecked by Stéphane Fillod
Daniel Stenberg [Fri, 26 Feb 2010 22:55:30 +0000 (22:55 +0000)]
- Pat Ray in bug #2958474 pointed out an off-by-one case when receiving a
chunked-encoding trailer.
http://curl.haxx.se/bug/view.cgi?id=2958474
Dan Fandrich [Fri, 26 Feb 2010 21:24:44 +0000 (21:24 +0000)]
Fixed a couple of out of memory leaks and a segfault in the IMAP code.
Yang Tse [Fri, 26 Feb 2010 19:12:23 +0000 (19:12 +0000)]
fix sizeof short
Yang Tse [Fri, 26 Feb 2010 18:32:46 +0000 (18:32 +0000)]
Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems
Yang Tse [Fri, 26 Feb 2010 17:48:18 +0000 (17:48 +0000)]
Added SIZEOF_INT definition
Yang Tse [Fri, 26 Feb 2010 16:42:33 +0000 (16:42 +0000)]
fix compiler warning
Yang Tse [Fri, 26 Feb 2010 01:47:21 +0000 (01:47 +0000)]
fix compiler warning
Yang Tse [Thu, 25 Feb 2010 08:09:05 +0000 (08:09 +0000)]
fix compiler warning
Dan Fandrich [Thu, 25 Feb 2010 08:07:06 +0000 (08:07 +0000)]
Fixed a couple of out of memory leaks and a segfault in the SMTP code.
Yang Tse [Thu, 25 Feb 2010 08:03:05 +0000 (08:03 +0000)]
fix file name
Yang Tse [Thu, 25 Feb 2010 06:59:04 +0000 (06:59 +0000)]
Fixed bug report #2958074 indicating
(http://curl.haxx.se/bug/view.cgi?id=2958074) that curl on Windows with
option --trace-time did not use local time when timestamping trace lines.
This could also happen on other systems depending on time souurce.
Yang Tse [Wed, 24 Feb 2010 01:47:28 +0000 (01:47 +0000)]
enable 802 and 803
Yang Tse [Wed, 24 Feb 2010 00:03:06 +0000 (00:03 +0000)]
fix compiler warning
Yang Tse [Tue, 23 Feb 2010 18:46:27 +0000 (18:46 +0000)]
fix compiler warning
Yang Tse [Tue, 23 Feb 2010 16:07:54 +0000 (16:07 +0000)]
fix compiler warning
Yang Tse [Tue, 23 Feb 2010 13:35:01 +0000 (13:35 +0000)]
fix socket data type
Yang Tse [Mon, 22 Feb 2010 23:28:56 +0000 (23:28 +0000)]
fix socket data type and logging format in debug tracking socket functions
Yang Tse [Mon, 22 Feb 2010 18:56:29 +0000 (18:56 +0000)]
convert Curl_ultous() and Curl_ultouc() functions to curlx_ultous() and
curlx_ultouc(), exposing them through curlx.h to allow proper code reuse
later in our test harness.
Yang Tse [Mon, 22 Feb 2010 16:16:35 +0000 (16:16 +0000)]
updated sources
Patrick Monnerat [Mon, 22 Feb 2010 13:57:57 +0000 (13:57 +0000)]
_ Adjusted RFC821 HELO fallback and enabled test804
Patrick Monnerat [Mon, 22 Feb 2010 12:41:02 +0000 (12:41 +0000)]
- Proper handling of STARTTLS on SMTP, taking CURLUSESSL_TRY into account.
- SMTP falls back to RFC821 HELO when EHLO fails (and SSL is not required).
- Use of true local host name (i.e.: via gethostname()) when available, as default argument to SMTP HELO/EHLO.
- Test case 804 for HELO fallback.
Yang Tse [Mon, 22 Feb 2010 03:41:02 +0000 (03:41 +0000)]
add header inclusion
Yang Tse [Mon, 22 Feb 2010 02:37:13 +0000 (02:37 +0000)]
fix compiler warning
Yang Tse [Sun, 21 Feb 2010 19:59:09 +0000 (19:59 +0000)]
fix compiler warning
Daniel Stenberg [Sun, 21 Feb 2010 14:42:59 +0000 (14:42 +0000)]
clarify more details on section "2.1 More non-blocking"
Daniel Stenberg [Sun, 21 Feb 2010 14:40:22 +0000 (14:40 +0000)]
TFTP transfers are not blocking since 7.20.0
Daniel Stenberg [Sat, 20 Feb 2010 22:29:59 +0000 (22:29 +0000)]
- Fixed the SMTP compliance by making sure RCPT TO addresses are specified
properly in angle brackets. Recipients provided with CURLOPT_MAIL_RCPT now
get angle bracket wrapping automatically by libcurl unless the recipient
starts with an angle bracket as then the app is assumed to deal with that
properly on its own.
Daniel Stenberg [Sat, 20 Feb 2010 21:56:48 +0000 (21:56 +0000)]
- I made the SMTP code expect a 250 response back from the server after the
full DATA has been sent, and I modified the test SMTP server to also send
that response. As usual, the DONE operation that is made after a completed
transfer is still not doable in a non-blocking way so this waiting for 250
is unfortunately made blockingly.
Daniel Stenberg [Sat, 20 Feb 2010 21:41:25 +0000 (21:41 +0000)]
corected a comment and wrapped a few longish lines
Yang Tse [Sat, 20 Feb 2010 19:51:02 +0000 (19:51 +0000)]
fix compiler warning
Yang Tse [Sat, 20 Feb 2010 11:58:26 +0000 (11:58 +0000)]
fix compiler warning
Yang Tse [Sat, 20 Feb 2010 01:15:10 +0000 (01:15 +0000)]
fix compiler warning
Yang Tse [Fri, 19 Feb 2010 18:02:38 +0000 (18:02 +0000)]
fix compiler warning
Yang Tse [Thu, 18 Feb 2010 12:31:24 +0000 (12:31 +0000)]
fix compiler warning
Daniel Stenberg [Wed, 17 Feb 2010 22:15:23 +0000 (22:15 +0000)]
ares_reinit()
- To allow an app to force a re-read of /etc/resolv.conf etc, pretty much
like the res_init() resolver function offers
Daniel Stenberg [Wed, 17 Feb 2010 12:13:55 +0000 (12:13 +0000)]
use curl standard indentation and line lengths
Yang Tse [Tue, 16 Feb 2010 13:32:45 +0000 (13:32 +0000)]
replaced tabs with spaces
Yang Tse [Tue, 16 Feb 2010 11:17:00 +0000 (11:17 +0000)]
fix Content-Length validation
Daniel Stenberg [Mon, 15 Feb 2010 21:29:19 +0000 (21:29 +0000)]
use (void) in front of fwrite() calls that ignore the return code
Yang Tse [Mon, 15 Feb 2010 17:40:35 +0000 (17:40 +0000)]
fix compiler warning: conversion from "long" to "size_t" may lose sign
Yang Tse [Mon, 15 Feb 2010 16:18:52 +0000 (16:18 +0000)]
fix compiler warning: conversion from "long" to "size_t" may lose sign
Daniel Stenberg [Mon, 15 Feb 2010 07:48:28 +0000 (07:48 +0000)]
-w speed_download and speed_upload are measured in bytes per second
Daniel Stenberg [Sun, 14 Feb 2010 22:51:43 +0000 (22:51 +0000)]
75. NTLM authentication involving unicode user name or password.
http://curl.haxx.se/mail/lib-2009-10/0024.html
http://curl.haxx.se/bug/view.cgi?id=2944325
Yang Tse [Sun, 14 Feb 2010 19:40:18 +0000 (19:40 +0000)]
removed trailing whitespace
Yang Tse [Sun, 14 Feb 2010 16:37:22 +0000 (16:37 +0000)]
fix compiler warning
Yang Tse [Sun, 14 Feb 2010 13:14:17 +0000 (13:14 +0000)]
Overhauled test suite getpart() function. Fixing potential out of bounds
stack and memory overwrites triggered with huge test case definitions.
Daniel Stenberg [Sat, 13 Feb 2010 21:30:16 +0000 (21:30 +0000)]
- Martin Hager reported and fixed a problem with a missing quote in libcurl.m4
(http://curl.haxx.se/bug/view.cgi?id=2951319)
Gunter Knauf [Sat, 13 Feb 2010 18:39:47 +0000 (18:39 +0000)]
used allways #ifdef / #ifndef;
moved gethostbyname_thread() to #else case to avoid 'not used' compiler warning.
Gunter Knauf [Sat, 13 Feb 2010 18:29:59 +0000 (18:29 +0000)]
replaced tabs by spaces, removed trailing tabs/spaces.
Daniel Stenberg [Sat, 13 Feb 2010 17:51:30 +0000 (17:51 +0000)]
- Tom Donovan fixed the CURL_FORMAT_* defines when building with cmake.
Daniel Stenberg [Fri, 12 Feb 2010 22:23:46 +0000 (22:23 +0000)]
- Jack Zhang reported a problem with SMTP: we wrongly used multiple addresses
in the same RCPT TO line, when they should be sent in separate single
commands. I updated test case 802 to verify this.
- I also fixed a bad use of my_setopt_str() of CURLOPT_MAIL_RCPT in the curl
tool which made it try to output it as string for the --libcurl feature
which could lead to crashes.
Daniel Stenberg [Fri, 12 Feb 2010 22:19:48 +0000 (22:19 +0000)]
CURLOPT_MAIL_RCPT is *not* a string so we must not try to printf() it
Daniel Stenberg [Fri, 12 Feb 2010 22:16:21 +0000 (22:16 +0000)]
free --mail-from strings properly
Patrick Monnerat [Thu, 11 Feb 2010 18:49:06 +0000 (18:49 +0000)]
_ Make it compilable again on OS400.
_ Upgrade OS400 EBCDIC wrappers for new options.
_ Upgrade ILE/RPG bindings to current state.
Yang Tse [Thu, 11 Feb 2010 07:36:34 +0000 (07:36 +0000)]
mention last changes
Yang Tse [Thu, 11 Feb 2010 07:29:38 +0000 (07:29 +0000)]
Steven M. Schweda updated VMS readme file
Yang Tse [Thu, 11 Feb 2010 07:27:42 +0000 (07:27 +0000)]
Steven M. Schweda removed batch_compile.com and defines.com
Yang Tse [Thu, 11 Feb 2010 07:24:29 +0000 (07:24 +0000)]
Steven M. Schweda fixed:
VMS builder bad behavior when used in a batch job.
Various ".LIS" and ".MAP" files created without being requested
by a "LIST" command-line option, and in the wrong place, too.
Some minor typographical changes.
Dan Fandrich [Wed, 10 Feb 2010 21:17:53 +0000 (21:17 +0000)]
Mention the minimum size of CURL_MAX_WRITE_SIZE
Yang Tse [Wed, 10 Feb 2010 13:03:32 +0000 (13:03 +0000)]
- remove extra "\r\n" from doc404_RTSP
- avoid memory alignment issue when setting RTSP packet length
Dan Fandrich [Tue, 9 Feb 2010 22:50:52 +0000 (22:50 +0000)]
Removed some erroneous "compressed" key words
Daniel Stenberg [Tue, 9 Feb 2010 11:37:10 +0000 (11:37 +0000)]
start working on 7.20.1
Daniel Stenberg [Tue, 9 Feb 2010 10:06:48 +0000 (10:06 +0000)]
spell and 7.20.0
Daniel Stenberg [Tue, 9 Feb 2010 09:35:48 +0000 (09:35 +0000)]
- When downloading compressed content over HTTP and the app as asked libcurl
to automatically uncompress it with the CURLOPT_ENCODING option, libcurl
could wrongly provide the callback with more data than what the maximum
documented amount. An application could thus get tricked into badness if the
maximum limit was trusted to be enforced by libcurl itself (as it is
documented).
This is further detailed and explained in the libcurl security advisory
20100209 at
http://curl.haxx.se/docs/adv_20100209.html
Daniel Stenberg [Tue, 9 Feb 2010 09:35:07 +0000 (09:35 +0000)]
set VERSIONINFO accordingly for the 7.20.0 release
Yang Tse [Sat, 6 Feb 2010 17:31:09 +0000 (17:31 +0000)]
warning fix
Yang Tse [Sat, 6 Feb 2010 17:30:06 +0000 (17:30 +0000)]
OOM handling fix
Yang Tse [Sat, 6 Feb 2010 13:21:45 +0000 (13:21 +0000)]
OOM handling fix
Yang Tse [Fri, 5 Feb 2010 20:52:00 +0000 (20:52 +0000)]
fix compiler warning
Yang Tse [Fri, 5 Feb 2010 19:24:22 +0000 (19:24 +0000)]
fix compiler warning
Yang Tse [Fri, 5 Feb 2010 19:19:34 +0000 (19:19 +0000)]
fix compiler warning
Yang Tse [Fri, 5 Feb 2010 18:07:19 +0000 (18:07 +0000)]
Addes OOM handling for curl_easy_setopt() calls in test
Yang Tse [Fri, 5 Feb 2010 09:33:36 +0000 (09:33 +0000)]
- avoid OpenSSL 0.9.8 ENGINE_by_id memory leak
- cleanup parenthesis usage in return statements
Yang Tse [Fri, 5 Feb 2010 09:32:11 +0000 (09:32 +0000)]
- attempt to workaround icc 9.1 optimizer issue
Yang Tse [Thu, 4 Feb 2010 19:44:31 +0000 (19:44 +0000)]
fix printf-style format strings
Yang Tse [Thu, 4 Feb 2010 17:17:19 +0000 (17:17 +0000)]
Validate server port argument
Yang Tse [Thu, 4 Feb 2010 14:50:58 +0000 (14:50 +0000)]
Fix variable initialization
Yang Tse [Thu, 4 Feb 2010 14:41:01 +0000 (14:41 +0000)]
Modified test case 557 to additionally verify libcurl's internal curl_m*printf()
functions formatting functionality when handling signed and unsigned shorts.
Yang Tse [Thu, 4 Feb 2010 14:40:11 +0000 (14:40 +0000)]
Added size check for 'short' data type
Yang Tse [Thu, 4 Feb 2010 10:08:39 +0000 (10:08 +0000)]
Fix compiler warning: unused variable
Yang Tse [Thu, 4 Feb 2010 09:55:45 +0000 (09:55 +0000)]
added an additional second to allow test to pass on heavily loaded servers
Dan Fandrich [Wed, 3 Feb 2010 23:07:11 +0000 (23:07 +0000)]
Changed the Watcom makefiles to make them easier to keep in sync with
Makefile.inc since that can't be included directly.
Daniel Stenberg [Wed, 3 Feb 2010 18:18:13 +0000 (18:18 +0000)]
more symbols added in 7.20.0
Yang Tse [Wed, 3 Feb 2010 13:28:47 +0000 (13:28 +0000)]
Fix OOM handling
Yang Tse [Wed, 3 Feb 2010 10:57:42 +0000 (10:57 +0000)]
Fix progressmode Configurable struct member data type. Changed to
'int' which fits better with existing CURL_PROGRESS_* definitions.
Yang Tse [Wed, 3 Feb 2010 06:49:27 +0000 (06:49 +0000)]
Fix portability issue related with unaligned memory access
Yang Tse [Wed, 3 Feb 2010 06:44:18 +0000 (06:44 +0000)]
Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible loss of data