]>
granicus.if.org Git - curl/log
Yang Tse [Fri, 31 Oct 2008 14:46:48 +0000 (14:46 +0000)]
fix OOM handling
Yang Tse [Thu, 30 Oct 2008 20:17:37 +0000 (20:17 +0000)]
NetWare LIBC target has getaddrinfo() and freeaddrinfo()
Yang Tse [Thu, 30 Oct 2008 19:02:23 +0000 (19:02 +0000)]
Move curl_dofreeaddrinfo() and curl_dofreeaddrinfo()
implementation from lib/hostip6.c to lib/curl_addrinfo.c
and prototypes from lib/hostip.h to lib/curl_addrinfo.h
Yang Tse [Thu, 30 Oct 2008 18:12:08 +0000 (18:12 +0000)]
remove bogus whitespace
Yang Tse [Thu, 30 Oct 2008 17:45:47 +0000 (17:45 +0000)]
check for freeaddrinfo() at configuration phase
Yang Tse [Thu, 30 Oct 2008 16:39:09 +0000 (16:39 +0000)]
These two variables are now Curl_addrinfo pointers
Yang Tse [Thu, 30 Oct 2008 15:13:22 +0000 (15:13 +0000)]
remove bogus comment
Yang Tse [Thu, 30 Oct 2008 13:50:15 +0000 (13:50 +0000)]
update aclocal file serial number
Yang Tse [Thu, 30 Oct 2008 13:45:25 +0000 (13:45 +0000)]
Use our Curl_addrinfo definition even when an addrinfo struct is available.
Use a wrapper function to call system's getaddrinfo().
Yang Tse [Thu, 30 Oct 2008 12:41:07 +0000 (12:41 +0000)]
remove verification of the freeability of the addrinfo struct pointer members
Dan Fandrich [Thu, 30 Oct 2008 01:44:18 +0000 (01:44 +0000)]
SLOWDOWN actually causes a 0.01 second delay between bytes
Daniel Stenberg [Wed, 29 Oct 2008 21:15:24 +0000 (21:15 +0000)]
--ftp-method was added in 7.15.1. This mention ends up a bit oddly formatted
but I'm not in the mood to fight nroff right now...
Dan Fandrich [Wed, 29 Oct 2008 19:06:48 +0000 (19:06 +0000)]
Fixed a bug that caused a few bytes of garbage to be sent after a
curl_easy_pause() during a chunky upload. Reported by Steve Roskowski.
Yang Tse [Wed, 29 Oct 2008 01:50:56 +0000 (01:50 +0000)]
fix comment
Yang Tse [Wed, 29 Oct 2008 01:45:07 +0000 (01:45 +0000)]
make CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_ADDR
and CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_CANONNAME
internal to CHECK_FUNC_GETADDRINFO
Dan Fandrich [Tue, 28 Oct 2008 23:48:05 +0000 (23:48 +0000)]
Mention more restrictions on timeouts when using signals
Daniel Stenberg [Tue, 28 Oct 2008 23:34:19 +0000 (23:34 +0000)]
added an extra set of braces to unconfuse emacs and then I re-indented a
section of the code that was odd-looking previously
Yang Tse [Tue, 28 Oct 2008 20:07:40 +0000 (20:07 +0000)]
fix leftover
Dan Fandrich [Tue, 28 Oct 2008 20:05:09 +0000 (20:05 +0000)]
Tweaked the include paths to work in CodeWarrior
Yang Tse [Tue, 28 Oct 2008 20:03:22 +0000 (20:03 +0000)]
Initial attempt to detect at configuration time if the getaddrinfo()
function returns an addrinfo with an unfreeable ai_canonname member ptr.
Dan Fandrich [Tue, 28 Oct 2008 20:03:22 +0000 (20:03 +0000)]
Changed the "resolve" test precheck program to verify that an IPv6 socket
can be created before resolving the IPv6 name. In the context of running
a test, it doesn't make sense to run an IPv6 test when a host is resolvable
but IPv6 isn't usable. This should fix failures of test 1085 on hosts with
library and DNS support for IPv6 but where actual use of IPv6 has been
administratively disabled.
Dan Fandrich [Tue, 28 Oct 2008 19:51:04 +0000 (19:51 +0000)]
curlx.h isn't a system include file so it gets double quotes
Yang Tse [Tue, 28 Oct 2008 19:13:25 +0000 (19:13 +0000)]
Initial attempt to detect at configuration time if the getaddrinfo()
function returns an addrinfo with an unfreeable ai_addr member ptr.
Daniel Stenberg [Tue, 28 Oct 2008 10:21:19 +0000 (10:21 +0000)]
Philippe Vaucher pointed out this use of an outdated option name...
Yang Tse [Tue, 28 Oct 2008 00:35:08 +0000 (00:35 +0000)]
fix test # 558 and 559 CFLAGS
Dan Fandrich [Mon, 27 Oct 2008 20:20:22 +0000 (20:20 +0000)]
Added rawstr.c to some more non-configure curl makefiles
Yang Tse [Mon, 27 Oct 2008 20:09:35 +0000 (20:09 +0000)]
don't skip tests 558 and 559 on i686 icc autobuilds
Yang Tse [Mon, 27 Oct 2008 20:01:58 +0000 (20:01 +0000)]
test #558 tests internal hash create/destroy
test #559 tests internal hash create/add/destroy
Gisle Vanem [Mon, 27 Oct 2008 15:47:59 +0000 (15:47 +0000)]
Added explicit rule and dependencies for $(OBJ_DIR)\rawstr.obj.
Yang Tse [Mon, 27 Oct 2008 14:02:50 +0000 (14:02 +0000)]
Skip test #558 when libcurl is built with hidden symbols
Yang Tse [Mon, 27 Oct 2008 08:20:36 +0000 (08:20 +0000)]
For tracing purposes log a fake call to getaddrinfo
when allocating/building the fake Curl_addrinfo.
Yang Tse [Mon, 27 Oct 2008 05:29:17 +0000 (05:29 +0000)]
add null-pointer check
Yang Tse [Mon, 27 Oct 2008 03:00:47 +0000 (03:00 +0000)]
avoid using Curl_ip2addr(), simply build up a fake Curl_addrinfo
Yang Tse [Sun, 26 Oct 2008 21:40:20 +0000 (21:40 +0000)]
convert test #558 into something more interesting, attempting
now to minimally exercise some internal hash routines.
Yang Tse [Sun, 26 Oct 2008 03:03:29 +0000 (03:03 +0000)]
test #558 verifies loop operation using malloc() and free()
Yang Tse [Sat, 25 Oct 2008 16:15:21 +0000 (16:15 +0000)]
add missing header inclusions
Dan Fandrich [Sat, 25 Oct 2008 05:41:01 +0000 (05:41 +0000)]
Added experimental support for zlib and OpenSSL on Symbian OS.
Yang Tse [Sat, 25 Oct 2008 04:18:48 +0000 (04:18 +0000)]
icc adjustments:
Select ANSI C89 dialect plus GNU extensions, again.
Yang Tse [Sat, 25 Oct 2008 03:52:21 +0000 (03:52 +0000)]
add missing header inclusions
Dan Fandrich [Fri, 24 Oct 2008 18:59:51 +0000 (18:59 +0000)]
Stop using in6addr_any because it's not available everywhere (e.g. Symbian)
and isn't strictly needed here.
Dan Fandrich [Fri, 24 Oct 2008 18:45:00 +0000 (18:45 +0000)]
Added rawstr.c to Symbian curl build
Yang Tse [Fri, 24 Oct 2008 16:59:35 +0000 (16:59 +0000)]
fix compiler warning
Yang Tse [Fri, 24 Oct 2008 12:23:24 +0000 (12:23 +0000)]
some more temporary magic for the icc seg-fault issue
Yang Tse [Fri, 24 Oct 2008 11:27:09 +0000 (11:27 +0000)]
icc permanent adjustment:
Select precise floating-point model, otherwise doubles are less than 64-bit wide
icc test adjustment:
Select c89 dialect
Yang Tse [Fri, 24 Oct 2008 01:27:00 +0000 (01:27 +0000)]
fix compiler warning
Dan Fandrich [Thu, 23 Oct 2008 17:36:27 +0000 (17:36 +0000)]
Added rawstr.c to the non-configure curl makefiles
Dan Fandrich [Thu, 23 Oct 2008 17:29:14 +0000 (17:29 +0000)]
Added rawstr.c to the non-configure libcurl makefiles
Yang Tse [Thu, 23 Oct 2008 14:34:08 +0000 (14:34 +0000)]
moved some definitions from tftp.h to tftpd.c
Yang Tse [Thu, 23 Oct 2008 14:07:28 +0000 (14:07 +0000)]
fix compiler warning
Daniel Stenberg [Thu, 23 Oct 2008 11:49:19 +0000 (11:49 +0000)]
moved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_
inclusion by the curl tool without colliding with the curl_strequal functions.
Yang Tse [Thu, 23 Oct 2008 10:04:06 +0000 (10:04 +0000)]
icc adjustments:
Enable more icc warnings.
Optimization disabling options used only for icc 9.1
Yang Tse [Thu, 23 Oct 2008 09:05:22 +0000 (09:05 +0000)]
Raise message severity up to warning, when strerror_r() exists but
configure is unable of finding out if it has glibc-style or POSIX-style,
trying to ensure that this condition does not go unnoticed.
Daniel Stenberg [Thu, 23 Oct 2008 08:06:47 +0000 (08:06 +0000)]
added include to make the krb4 code compile again
Dan Fandrich [Thu, 23 Oct 2008 08:05:40 +0000 (08:05 +0000)]
Really old gcc doesn't like parenthesis around the names of functions that
don't have prototypes. They didn't serve any useful purpose here, anyway.
Dan Fandrich [Thu, 23 Oct 2008 01:53:27 +0000 (01:53 +0000)]
Tweaked a few tests to test proper Turkish locale handling
Dan Fandrich [Thu, 23 Oct 2008 01:20:57 +0000 (01:20 +0000)]
Created Curl_raw_nequal() which does a C-locale string case comparison.
Changed checkprefix() to use it and those instances of strnequal() that
compare host names or other protocol strings that are defined to be
independent of case in the C locale. This should fix a few more
Turkish locale problems.
Yang Tse [Thu, 23 Oct 2008 00:38:23 +0000 (00:38 +0000)]
#include <stdlib.h> for exit() prototype
Dan Fandrich [Wed, 22 Oct 2008 21:36:37 +0000 (21:36 +0000)]
Updated example sizes and disable key words
Dan Fandrich [Wed, 22 Oct 2008 17:36:48 +0000 (17:36 +0000)]
Fixed a compiler warning with --disable-proxy
Daniel Stenberg [Wed, 22 Oct 2008 15:10:56 +0000 (15:10 +0000)]
fixed language, added the Solaris _REENTRANT thing
Yang Tse [Wed, 22 Oct 2008 15:03:15 +0000 (15:03 +0000)]
For i686 icc autobuilds:
Re-enable all tests for debug-enabled builds.
For debug-disabled builds only 8 tests are enabled.
Daniel Stenberg [Wed, 22 Oct 2008 13:34:53 +0000 (13:34 +0000)]
removed four issues that had no action at all for the last four weeks or more
Yang Tse [Wed, 22 Oct 2008 13:30:09 +0000 (13:30 +0000)]
some more temporary magic for the icc seg-fault issue
Yang Tse [Wed, 22 Oct 2008 11:10:56 +0000 (11:10 +0000)]
remove from configure.ac temporary magic for the icc seg-fault issue
Dan Fandrich [Wed, 22 Oct 2008 05:46:29 +0000 (05:46 +0000)]
Changed some arrays of char* to arrays of char[] to reduce data size and
run-time relocations.
Dan Fandrich [Tue, 21 Oct 2008 23:15:19 +0000 (23:15 +0000)]
Compile away some more code in the CURL_DISABLE_PROXY case.
Yang Tse [Tue, 21 Oct 2008 17:54:18 +0000 (17:54 +0000)]
some more temporary magic for the icc seg-fault issue
Dan Fandrich [Tue, 21 Oct 2008 07:10:25 +0000 (07:10 +0000)]
Fixed some problems with SFTP range support to fix test cases 634 through 637.
Yang Tse [Tue, 21 Oct 2008 01:58:23 +0000 (01:58 +0000)]
Charles Hardin patch:
- handles the EINPROGRESS for UDP connects
- uses closesocket instead of close on some paths that were noticed
Yang Tse [Mon, 20 Oct 2008 23:24:35 +0000 (23:24 +0000)]
remove debug-code which zero-filled some structures before free()ing them
Dan Fandrich [Mon, 20 Oct 2008 23:07:48 +0000 (23:07 +0000)]
A few prototypes shouldn't be defined if SSL is disabled.
Yang Tse [Mon, 20 Oct 2008 23:05:52 +0000 (23:05 +0000)]
*** empty log message ***
Daniel Stenberg [Mon, 20 Oct 2008 21:59:36 +0000 (21:59 +0000)]
All the coverity.com issues have no been taken care of.
Daniel Stenberg [Mon, 20 Oct 2008 21:56:35 +0000 (21:56 +0000)]
added a NULL pointer check for the name field as it can in fact be NULL when
dereferenced here, if the app passes in a funny combo. Detected by coverity.com
Yang Tse [Mon, 20 Oct 2008 15:56:08 +0000 (15:56 +0000)]
some more temporary magic for the icc seg-fault issue
Yang Tse [Sun, 19 Oct 2008 23:50:18 +0000 (23:50 +0000)]
messages initially intended only for debug purposes, now become permanent
since these are extremely useful when compiler rejects a set of options.
Yang Tse [Sun, 19 Oct 2008 22:46:54 +0000 (22:46 +0000)]
fix compiler warning
Daniel Stenberg [Sun, 19 Oct 2008 21:00:40 +0000 (21:00 +0000)]
Fixed potential memory leak in OOM situations. Detected by coverity.com
Yang Tse [Sun, 19 Oct 2008 20:41:03 +0000 (20:41 +0000)]
oops
Daniel Stenberg [Sun, 19 Oct 2008 20:37:24 +0000 (20:37 +0000)]
dumpeasycode() uses warnf() which uses config->errors so we must not close
that before dumpeasycode() is called. Found by coverity.com
Daniel Stenberg [Sun, 19 Oct 2008 20:28:41 +0000 (20:28 +0000)]
Removed dead code, identified by coverity.com.
Yang Tse [Sun, 19 Oct 2008 20:17:16 +0000 (20:17 +0000)]
attempt to fix or allow further detection of an elusive icc SIGSEGV
Daniel Stenberg [Sun, 19 Oct 2008 18:20:47 +0000 (18:20 +0000)]
clarified an argument's situation due to a false positive alert pointed out
by coverity.com
Dan Fandrich [Sun, 19 Oct 2008 04:48:15 +0000 (04:48 +0000)]
Fixed a compiler warning in the CURL_DISABLE_HTTP case
Yang Tse [Sun, 19 Oct 2008 01:02:18 +0000 (01:02 +0000)]
attempt to fix compiler warning relative to potential misaligned data access
Dan Fandrich [Sat, 18 Oct 2008 01:23:14 +0000 (01:23 +0000)]
Removed some more code in the CURL_DISABLE_HTTP case
Dan Fandrich [Sat, 18 Oct 2008 01:17:27 +0000 (01:17 +0000)]
Removed a line of dead code (discovered by Coverity)
Dan Fandrich [Fri, 17 Oct 2008 22:33:08 +0000 (22:33 +0000)]
Forgot it's a struct
Dan Fandrich [Fri, 17 Oct 2008 22:23:48 +0000 (22:23 +0000)]
Fixed a compile error reported by Albert Chin on AIX and IRIX when using
GTLS.
Yang Tse [Fri, 17 Oct 2008 19:04:53 +0000 (19:04 +0000)]
fix compiler warning
Yang Tse [Fri, 17 Oct 2008 17:11:11 +0000 (17:11 +0000)]
fix missing double-quotes
Yang Tse [Fri, 17 Oct 2008 15:29:35 +0000 (15:29 +0000)]
protect against 'use after free' or race condition
Yang Tse [Fri, 17 Oct 2008 13:55:13 +0000 (13:55 +0000)]
oops ;-)
Yang Tse [Fri, 17 Oct 2008 13:33:13 +0000 (13:33 +0000)]
oops
Daniel Stenberg [Fri, 17 Oct 2008 13:23:21 +0000 (13:23 +0000)]
fix syntax error
Patrick Monnerat [Fri, 17 Oct 2008 13:17:41 +0000 (13:17 +0000)]
Introduce new options CURLOPT_PROXY{USERNAME, PASSWORD} in OS400 code and RPG binding.
Yang Tse [Fri, 17 Oct 2008 12:53:53 +0000 (12:53 +0000)]
fix compiler warning
Yang Tse [Fri, 17 Oct 2008 12:49:02 +0000 (12:49 +0000)]
OOM condition fix
Daniel Stenberg [Fri, 17 Oct 2008 11:26:36 +0000 (11:26 +0000)]
Charles Hardin made adig support a regular numerical dotted IP address for the
-s option as well.
Daniel Stenberg [Fri, 17 Oct 2008 08:14:47 +0000 (08:14 +0000)]
185 - CURLOPT_PROXYUSER etc
done!