Daniel Stenberg [Wed, 2 May 2007 13:14:56 +0000 (13:14 +0000)]
Merged _all_ old changelogs into the single CHANGES.0 file. Having a new one
for every year is giving us too many files! I also split out the changes
from 2006 from CHANGES to CHANGES.0 now.
Daniel Stenberg [Mon, 30 Apr 2007 21:47:58 +0000 (21:47 +0000)]
brlcad on #curl provided this patch (edited by me) since "configure will fail
looking for a C++ preprocessor on libtool-using projects" with the factory-
installed libtool version on Mac OS X.
Dan Fandrich [Mon, 30 Apr 2007 20:15:33 +0000 (20:15 +0000)]
Improved the test harness to allow running test servers on other than
the default port numbers, allowing more than one test suite to run
simultaneously on the same host.
Daniel Stenberg [Sat, 28 Apr 2007 21:01:30 +0000 (21:01 +0000)]
Peter O'Gorman fixed libcurl to not init GnuTLS as early as we did before,
since it then inits libgcrypt and libgcrypt is being evil and EXITS the
application if it fails to get a fine random seed. That's really not a nice
thing to do by a library.
Daniel Stenberg [Sat, 28 Apr 2007 20:27:07 +0000 (20:27 +0000)]
Frank Hempel fixed a curl_easy_duphandle() crash on a handle that had
been removed from a multi handle, and then fixed another flaw that prevented
curl_easy_duphandle() to work even after the first fix - the handle was
still marked as using the multi interface.
Daniel Stenberg [Thu, 26 Apr 2007 21:30:29 +0000 (21:30 +0000)]
Peter O'Gorman found a problem with SCP downloads when the downloaded file
was 16385 bytes (16K+1) and it turned out we didn't properly always "suck
out" all data from libssh2. The effect being that libcurl would hang on the
socket waiting for data when libssh2 had in fact already read it all...
Daniel Stenberg [Wed, 25 Apr 2007 20:20:15 +0000 (20:20 +0000)]
Sonia Subramanian brought our attention to a problem that happens if you set
the CURLOPT_RESUME_FROM or CURLOPT_RANGE options and an existing connection
in the connection cache is closed to make room for the new one when you call
curl_easy_perform(). It would then wrongly free range-related data in the
connection close funtion.
Daniel Stenberg [Tue, 24 Apr 2007 10:18:06 +0000 (10:18 +0000)]
Robert Iakobashvili made the 'master_buffer' get allocated first once it is
can/will be used as it then makes the common cases save 16KB of data for each
easy handle that isn't used for pipelining.
Daniel Stenberg [Sat, 21 Apr 2007 21:32:31 +0000 (21:32 +0000)]
Daniel Black filed bug #1704675 (http://curl.haxx.se/bug/view.cgi?id=1704675)
identifying a double-free problem in the SSL-dealing layer, telling GnuTLS to
free NULL credentials on closedown after a failure and a bad #ifdef for NSS
when closing down SSL.
Yang Tse [Fri, 20 Apr 2007 00:07:19 +0000 (00:07 +0000)]
- Save one call to curlx_tvnow(), which calls gettimeofday(), in each of
Curl_socket_ready(), Curl_poll() and Curl_select() when these are called
with a zero timeout or a timeout value indicating a blocking call should
be performed.
These unnecessary calls to gettimeofday() got introduced in 7.16.2 when
fixing 'timeout would restart when signal caught while awaiting socket
events' on 20 March 2007.
- Move some loop breaking logic from the while clause into the loop,
avoiding compiler warning 'assignment within conditional expression'
Daniel Stenberg [Mon, 16 Apr 2007 16:34:08 +0000 (16:34 +0000)]
- Robert Iakobashvil added curl_multi_socket_action() to libcurl, which is a
function that deprecates the curl_multi_socket() function. Using the new
function the application tell libcurl what action that was found in the
socket that it passes in. This gives a significant performance boost as it
allows libcurl to avoid a call to poll()/select() for every call to
curl_multi_socket*().
ares_getopt() command-line parser function does not belong to actual c-ares library. It is just a convinience source code helper function for use in example programs adig.c and ahost.c
Yang Tse [Mon, 16 Apr 2007 09:08:15 +0000 (09:08 +0000)]
ares_getopt() command-line parser function does not belong to actual
c-ares library. It is just a convinience source code helper function
for use in example programs adig.c and ahost.c
Yang Tse [Mon, 16 Apr 2007 09:01:16 +0000 (09:01 +0000)]
ares_getopt() command-line parser function does not belong to actual
c-ares library. It is just a convinience source code helper function
for use in example programs adig.c and ahost.c
Yang Tse [Fri, 13 Apr 2007 11:35:19 +0000 (11:35 +0000)]
Fix test case 534 which started to fail 2007-04-13 due to the existance
of a new host on the net with the same silly domain the test was using
for a host which was supposed not to exist.
Daniel Stenberg [Thu, 12 Apr 2007 20:09:19 +0000 (20:09 +0000)]
Song Ma found a memory leak in the if2ip code if you pass in an interface
name longer than the name field of the ifreq struct (typically 6 bytes), as
then it wouldn't close the used dummy socket.
Yang Tse [Thu, 12 Apr 2007 16:53:59 +0000 (16:53 +0000)]
Add file ares_getopt.c
Original file name getopt.c Initial import into the c-ares source tree
on 2007-04-11. Lifted from version 5.2 of the 'Open Mash' project with
the modified BSD license, BSD license without the advertising clause.
Dan Fandrich [Thu, 12 Apr 2007 01:26:02 +0000 (01:26 +0000)]
Work around an out of memory situation in Curl_ftp_done instead of
returning an error code, to allow connections to be torn down
cleanly since this function can be called AFTER an OOM situation
has already been reached.
Daniel Stenberg [Tue, 10 Apr 2007 20:51:52 +0000 (20:51 +0000)]
41. When doing an operation over FTP that requires the ACCT command (but not
when logging in), the operation will fail since libcurl does detect this and
thus fails to issue the correct command:
http://curl.haxx.se/bug/view.cgi?id=1693337