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
Yang Tse [Wed, 4 Apr 2007 06:39:03 +0000 (06:39 +0000)]
test can be allowed to run if fopen() is capable of fopen()ing
three additional files once that we have already open()ed the
big bunch of file descriptors.
Yang Tse [Wed, 4 Apr 2007 03:19:59 +0000 (03:19 +0000)]
test can be allowed to run if fopen() is capable of fopen()ing
SAFETY_MARGIN additional files once that we have already open()ed
the big bunch of file descriptors.
Daniel Stenberg [Tue, 3 Apr 2007 21:15:31 +0000 (21:15 +0000)]
Only one issue left to deal with. Most of the others cut due to lack of
response and/or my personal lack of time to deal further with them at this
point.
Yang Tse [Tue, 3 Apr 2007 18:02:02 +0000 (18:02 +0000)]
Verify if the test is limited by an ancient stdio with a 256
open file limit. In this case the test is skipped with a
message showing this limitation when the number of open files
needed for the test is greater than 256.