Daniel Stenberg [Wed, 24 Mar 2010 21:40:56 +0000 (22:40 +0100)]
provide a version number as today's date
It should at least help visualize which autobuilds that are
using this script.
Daniel Stenberg [Wed, 24 Mar 2010 21:26:41 +0000 (22:26 +0100)]
testcurl now uses git instead of CVS
Bill Hoffman [Wed, 24 Mar 2010 18:19:50 +0000 (14:19 -0400)]
Merge branch 'master' of github.com:bagder/curl
Bill Hoffman [Wed, 24 Mar 2010 18:16:41 +0000 (14:16 -0400)]
Enable LDAP by default since it is now disabled when ldap.h is not found,
Bill Hoffman [Wed, 24 Mar 2010 18:07:18 +0000 (14:07 -0400)]
CMake fixes for Linux.
Make sure <sys/socket.h> is included if around when testing/using
socklen_t. Also, disable LDAP if LDAP_H is not found on the system.
Bob Richmond [Wed, 24 Mar 2010 16:02:17 +0000 (17:02 +0100)]
fix: timeout after last data chunk was handled
Bob Richmond: There's an annoying situation where libcurl will
read new HTTP response data from a socket, then check if it's a
timeout if one is set. If the last packet received constitutes
the end of the response body, libcurl still treats it as a
timeout condition and reports a message like:
"Operation timed out after 3000 milliseconds with 876 out of 876
bytes received"
It should only a timeout if the timer lapsed and we DIDN'T
receive the end of the response body yet.
Daniel Stenberg [Wed, 24 Mar 2010 16:00:20 +0000 (17:00 +0100)]
avoid compiler warning without USE_ALARM_TIMEOUT
Bill Hoffman [Wed, 24 Mar 2010 14:57:54 +0000 (10:57 -0400)]
Fix curl CMake build.
This commit fixes the cmake build of curl, and cleans up the
cmake code a little. It removes some commented out code and
some trailing whitespace. To get curl to build the binary
tree include/curl directory needed to be added to the include
path. Also, SIZEOF_SHORT needed to be added. A check for the
lack of defines of SIZEOF_* for warnless.c was added.
Chris Conroy [Wed, 24 Mar 2010 13:21:33 +0000 (09:21 -0400)]
remove debug printfs
Daniel Stenberg [Wed, 24 Mar 2010 12:28:02 +0000 (13:28 +0100)]
RTSP GET_PARAMETER fix
Christopher Conroy fixed a problem with RTSP and GET_PARAMETER
reported to us by Massimo Callegari. There's a new test case 572
that verifies this now.
Daniel Stenberg [Wed, 24 Mar 2010 12:27:49 +0000 (13:27 +0100)]
remove trace of CVS
Chris Conroy [Wed, 24 Mar 2010 05:35:03 +0000 (01:35 -0400)]
Fix RTSP GET_PARAMETER empty and non-empty operation.
Test coverage included. Thanks to Massimo Callegari for the bug report
Daniel Stenberg [Wed, 24 Mar 2010 10:30:34 +0000 (11:30 +0100)]
s/CVS/DEV/ in the version string for repo versions
Daniel Stenberg [Wed, 24 Mar 2010 10:20:34 +0000 (11:20 +0100)]
scrapped all left-over TODOs
In order to get back on track, I've removed all the plans for
stuff I had in the queue. I will instead focus on fixing bugs and
relying on that people who truly want things added will come back
on the mailing list and nag and provide patches.
7.20.1 should be possible to release in April 2010
Daniel Stenberg [Wed, 24 Mar 2010 10:07:35 +0000 (11:07 +0100)]
restore executable bits on some files
Daniel Stenberg [Wed, 24 Mar 2010 10:02:54 +0000 (11:02 +0100)]
remove the CVSish $Id$ lines
Daniel Stenberg [Wed, 24 Mar 2010 09:47:48 +0000 (10:47 +0100)]
The 'ares' subtree has been removed from the source repository
Daniel Stenberg [Wed, 24 Mar 2010 09:45:47 +0000 (10:45 +0100)]
s/CVS/git
Daniel Stenberg [Wed, 24 Mar 2010 09:44:25 +0000 (10:44 +0100)]
update to current state
Daniel Stenberg [Wed, 24 Mar 2010 09:34:30 +0000 (10:34 +0100)]
remove the ares subtree
c-ares is now hosted entirely separate from the curl project
see http://c-ares.haxx.se/ for all details concerning c-ares,
its source repository and more.
Daniel Stenberg [Tue, 23 Mar 2010 22:29:23 +0000 (23:29 +0100)]
mark connection as connected
Kenny To filed the bug report #2963679 with patch to fix a
problem he experienced with doing multi interface HTTP POST over
a proxy using PROXYTUNNEL. He found a case where it would connect
fine but bits.tcpconnect was not set correct so libcurl didn't
work properly.
(http://curl.haxx.se/bug/view.cgi?id=2963679)
Daniel Stenberg [Tue, 23 Mar 2010 22:25:04 +0000 (23:25 +0100)]
enabled valgrind
I ran it now successfully and it helped to pinpoint a libssh2
memory leak!
Dan Fandrich [Tue, 23 Mar 2010 22:25:00 +0000 (15:25 -0700)]
Updated Symbian notes
Daniel Stenberg [Tue, 23 Mar 2010 14:26:45 +0000 (15:26 +0100)]
chunked-encoding with Content-Length: header problem
Akos Pasztory filed debian bug report #572276
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572276
mentioning a problem with a resource that returns chunked-encoded
_and_ with a Content-Length and libcurl failed to properly ignore
the latter information.
Daniel Stenberg [Tue, 23 Mar 2010 12:18:30 +0000 (13:18 +0100)]
delayed easy handle kill caused double Curl_close() call
Hauke Duden provided an example program that made the multi
interface crash. His example simply used the multi interface and
did first one FTP transfer and after completion it used a second
easy handle and did another FTP transfer on the same FTP server.
This triggered a bug in the "delayed easy handle kill" system
that curl uses: when an FTP connection is left alive it must keep
an easy handle around internally - only for the purpose of having
an easy handle when it later disconnects it. The code assumed
that when the easy handle was removed and an internal reference
was made, that version could be killed later on when a new easy
handle came using the same connection. This was wrong as Hauke's
example showed that the removed handle wasn't killed for real
until later. This caused a double close attempt => segfault.
Daniel Stenberg [Tue, 23 Mar 2010 11:43:42 +0000 (12:43 +0100)]
ignore more files generated when tests run in the source tree
Daniel Stenberg [Mon, 22 Mar 2010 21:00:55 +0000 (22:00 +0100)]
Thomas Lopatic fixed the alarm()-based DNS timeout
Thomas Lopatic [Mon, 22 Mar 2010 20:57:48 +0000 (21:57 +0100)]
fix the alarm()-based DNS timeout
Looking at the code of Curl_resolv_timeout() in hostip.c, I think
that in case of a timeout, the signal handler for SIGALRM never
gets removed. I think that in my case it gets executed at some
point later on when execution has long left Curl_resolv_timeout()
or even the cURL library.
The code that is jumped to with siglongjmp() simply sets the
error message to "name lookup timed out" and then returns with
CURLRESOLV_ERROR. I guess that instead of simply returning
without cleaning up, the code should have a goto that jumps to
the spot right after the call to Curl_resolv().
Daniel Johnson [Mon, 22 Mar 2010 00:46:33 +0000 (20:46 -0400)]
Fix warnings for clang
Daniel Stenberg [Mon, 22 Mar 2010 08:51:52 +0000 (09:51 +0100)]
Merge branch 'master' of github.com:bagder/curl
douglas steinwand [Mon, 22 Mar 2010 08:25:03 +0000 (09:25 +0100)]
Fix insufficient initialization in Curl_clone_ssl_config()
which could have caused a double free when reusing curl handle.
Daniel Stenberg [Sun, 21 Mar 2010 23:42:06 +0000 (00:42 +0100)]
we never used this file anyway
Daniel Stenberg [Sun, 21 Mar 2010 23:41:34 +0000 (00:41 +0100)]
s/CVS/git
Daniel Stenberg [Sun, 21 Mar 2010 23:34:09 +0000 (00:34 +0100)]
various changes of CVS to git
Daniel Stenberg [Sun, 21 Mar 2010 23:26:29 +0000 (00:26 +0100)]
remove references to CVS in the code and use DEV instead
Daniel Stenberg [Sun, 21 Mar 2010 22:34:29 +0000 (23:34 +0100)]
Ben Greear's two fixes explained
Ben Greear [Sun, 21 Mar 2010 22:24:36 +0000 (23:24 +0100)]
Fix tftp return codes and tsize upload handling
Error codes were not properly returned to the main curl code (and on to apps
using libcurl).
tftp was crapping out when tsize == 0 on upload, but I see no reason to fail
to upload just because the remote file is zero-length. Ignore tsize option on
upload.
Daniel Stenberg [Sat, 20 Mar 2010 23:21:34 +0000 (00:21 +0100)]
more files to ignore
Daniel Stenberg [Sat, 20 Mar 2010 22:35:45 +0000 (23:35 +0100)]
provide an initial set of .gitignore files
Kamil Dudka [Fri, 19 Mar 2010 15:43:11 +0000 (15:43 +0000)]
- Improved Curl_read() to not ignore the error returned from Curl_ssl_recv().
Daniel Stenberg [Thu, 18 Mar 2010 21:52:31 +0000 (21:52 +0000)]
fix warning about conversions between curl_off_t and long
Yang Tse [Thu, 18 Mar 2010 17:37:00 +0000 (17:37 +0000)]
another shot at the ftp_init() icc 9.1 optimizer issue
Yang Tse [Wed, 17 Mar 2010 10:44:28 +0000 (10:44 +0000)]
replaced intel compiler option -no-ansi-alias with -fno-strict-aliasing
Yang Tse [Wed, 17 Mar 2010 10:39:07 +0000 (10:39 +0000)]
update outdated serial number
Dan Fandrich [Tue, 16 Mar 2010 05:18:21 +0000 (05:18 +0000)]
Factored out some code into a few independent functions
Daniel Stenberg [Mon, 15 Mar 2010 22:40:42 +0000 (22:40 +0000)]
- Constantine Sapuntzakis brought a patch:
The problem mentioned on Dec 10 2009
(http://curl.haxx.se/bug/view.cgi?id=2905220) was only partially fixed.
Partially because an easy handle can be associated with many connections in
the cache (e.g. if there is a redirect during the lifetime of the easy
handle). The previous patch only cleaned up the first one. The new fix now
removes the easy handle from all connections, not just the first one.
Yang Tse [Thu, 11 Mar 2010 18:53:42 +0000 (18:53 +0000)]
fix compiler warning
Dan Fandrich [Thu, 11 Mar 2010 06:59:16 +0000 (06:59 +0000)]
SSL should now be working out-of-the-box on Symbian S60.
Dan Fandrich [Thu, 11 Mar 2010 06:58:36 +0000 (06:58 +0000)]
Enable Symbian zlib support by default.
Dan Fandrich [Thu, 11 Mar 2010 06:57:33 +0000 (06:57 +0000)]
Allow compilation even when OpenSSL has been configured without MD4 support.
Dan Fandrich [Wed, 10 Mar 2010 06:55:23 +0000 (06:55 +0000)]
A few Symbian build changes
Yang Tse [Tue, 9 Mar 2010 17:59:35 +0000 (17:59 +0000)]
watt32 compilation fix
Daniel Stenberg [Sat, 6 Mar 2010 18:42:06 +0000 (18:42 +0000)]
- Ben Greear brought a patch that fixed the rate limiting logic for TFTP when
the easy interface was used.
Daniel Stenberg [Sat, 6 Mar 2010 18:39:45 +0000 (18:39 +0000)]
indent fix by Ben Greear, I removed some braces for single-line conditional
expressions
Yang Tse [Sat, 6 Mar 2010 10:52:56 +0000 (10:52 +0000)]
Added another VS10 version string
Yang Tse [Sat, 6 Mar 2010 02:33:25 +0000 (02:33 +0000)]
fix line break
Yang Tse [Sat, 6 Mar 2010 01:23:09 +0000 (01:23 +0000)]
removed usage of 's6_addr', fixing compilation issue triggered with no
longer using 'in6_addr' but only our 'ares_in6_addr' struct
Daniel Stenberg [Fri, 5 Mar 2010 22:53:30 +0000 (22:53 +0000)]
Daniel Johnson provided fixes for building with the clang compiler
Yang Tse [Fri, 5 Mar 2010 20:01:47 +0000 (20:01 +0000)]
Added IPv6 name servers support
Gisle Vanem [Fri, 5 Mar 2010 18:45:17 +0000 (18:45 +0000)]
Ops!. Readded ares_nowarn.h.
Gisle Vanem [Fri, 5 Mar 2010 18:21:56 +0000 (18:21 +0000)]
Added ares_nowarn.c.
Yang Tse [Fri, 5 Mar 2010 03:15:19 +0000 (03:15 +0000)]
Constantine Sapuntzakis detected and fixed a double free in builds done
with threaded resolver enabled (Windows default configuration) that would
get triggered when a curl handle is closed while doing DNS resolution.
Yang Tse [Fri, 5 Mar 2010 02:14:19 +0000 (02:14 +0000)]
Added SIZEOF_INT and SIZEOF_SHORT definitions for VMS configuration file
Daniel Stenberg [Thu, 4 Mar 2010 16:06:00 +0000 (16:06 +0000)]
Julien Chaffraix clarified CURLOPT_HEADERFUNCTION and made
CURLOPT_HEADERFUNCTION and CURLOPT_WRITEFUNCTION more consistent
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