]> granicus.if.org Git - curl/log
curl
16 years agofix OOM handling
Yang Tse [Fri, 31 Oct 2008 14:46:48 +0000 (14:46 +0000)]
fix OOM handling

16 years agoNetWare LIBC target has getaddrinfo() and freeaddrinfo()
Yang Tse [Thu, 30 Oct 2008 20:17:37 +0000 (20:17 +0000)]
NetWare LIBC target has getaddrinfo() and freeaddrinfo()

16 years agoMove curl_dofreeaddrinfo() and curl_dofreeaddrinfo()
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

16 years agoremove bogus whitespace
Yang Tse [Thu, 30 Oct 2008 18:12:08 +0000 (18:12 +0000)]
remove bogus whitespace

16 years agocheck for freeaddrinfo() at configuration phase
Yang Tse [Thu, 30 Oct 2008 17:45:47 +0000 (17:45 +0000)]
check for freeaddrinfo() at configuration phase

16 years agoThese two variables are now Curl_addrinfo pointers
Yang Tse [Thu, 30 Oct 2008 16:39:09 +0000 (16:39 +0000)]
These two variables are now Curl_addrinfo pointers

16 years agoremove bogus comment
Yang Tse [Thu, 30 Oct 2008 15:13:22 +0000 (15:13 +0000)]
remove bogus comment

16 years agoupdate aclocal file serial number
Yang Tse [Thu, 30 Oct 2008 13:50:15 +0000 (13:50 +0000)]
update aclocal file serial number

16 years agoUse our Curl_addrinfo definition even when an addrinfo struct is available.
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().

16 years agoremove verification of the freeability of the addrinfo struct pointer members
Yang Tse [Thu, 30 Oct 2008 12:41:07 +0000 (12:41 +0000)]
remove verification of the freeability of the addrinfo struct pointer members

16 years agoSLOWDOWN actually causes a 0.01 second delay between bytes
Dan Fandrich [Thu, 30 Oct 2008 01:44:18 +0000 (01:44 +0000)]
SLOWDOWN actually causes a 0.01 second delay between bytes

16 years ago--ftp-method was added in 7.15.1. This mention ends up a bit oddly formatted
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...

16 years agoFixed a bug that caused a few bytes of garbage to be sent after a
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.

16 years agofix comment
Yang Tse [Wed, 29 Oct 2008 01:50:56 +0000 (01:50 +0000)]
fix comment

16 years agomake CHECK_FUNC_GETADDRINFO_UNFREEABLE_AI_ADDR
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

16 years agoMention more restrictions on timeouts when using signals
Dan Fandrich [Tue, 28 Oct 2008 23:48:05 +0000 (23:48 +0000)]
Mention more restrictions on timeouts when using signals

16 years agoadded an extra set of braces to unconfuse emacs and then I re-indented a
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

16 years agofix leftover
Yang Tse [Tue, 28 Oct 2008 20:07:40 +0000 (20:07 +0000)]
fix leftover

16 years agoTweaked the include paths to work in CodeWarrior
Dan Fandrich [Tue, 28 Oct 2008 20:05:09 +0000 (20:05 +0000)]
Tweaked the include paths to work in CodeWarrior

16 years agoInitial attempt to detect at configuration time if the getaddrinfo()
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.

16 years agoChanged the "resolve" test precheck program to verify that an IPv6 socket
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.

16 years agocurlx.h isn't a system include file so it gets double quotes
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

16 years agoInitial attempt to detect at configuration time if the getaddrinfo()
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.

16 years agoPhilippe Vaucher pointed out this use of an outdated option name...
Daniel Stenberg [Tue, 28 Oct 2008 10:21:19 +0000 (10:21 +0000)]
Philippe Vaucher pointed out this use of an outdated option name...

16 years agofix test # 558 and 559 CFLAGS
Yang Tse [Tue, 28 Oct 2008 00:35:08 +0000 (00:35 +0000)]
fix test # 558 and 559 CFLAGS

16 years agoAdded rawstr.c to some more non-configure curl makefiles
Dan Fandrich [Mon, 27 Oct 2008 20:20:22 +0000 (20:20 +0000)]
Added rawstr.c to some more non-configure curl makefiles

16 years agodon't skip tests 558 and 559 on i686 icc autobuilds
Yang Tse [Mon, 27 Oct 2008 20:09:35 +0000 (20:09 +0000)]
don't skip tests 558 and 559 on i686 icc autobuilds

16 years agotest #558 tests internal hash create/destroy
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

16 years agoAdded explicit rule and dependencies for $(OBJ_DIR)\rawstr.obj.
Gisle Vanem [Mon, 27 Oct 2008 15:47:59 +0000 (15:47 +0000)]
Added explicit rule and dependencies for $(OBJ_DIR)\rawstr.obj.

16 years agoSkip test #558 when libcurl is built with hidden symbols
Yang Tse [Mon, 27 Oct 2008 14:02:50 +0000 (14:02 +0000)]
Skip test #558 when libcurl is built with hidden symbols

16 years agoFor tracing purposes log a fake call to getaddrinfo
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.

16 years agoadd null-pointer check
Yang Tse [Mon, 27 Oct 2008 05:29:17 +0000 (05:29 +0000)]
add null-pointer check

16 years agoavoid using Curl_ip2addr(), simply build up a fake Curl_addrinfo
Yang Tse [Mon, 27 Oct 2008 03:00:47 +0000 (03:00 +0000)]
avoid using Curl_ip2addr(), simply build up a fake Curl_addrinfo

16 years agoconvert test #558 into something more interesting, attempting
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.

16 years agotest #558 verifies loop operation using malloc() and free()
Yang Tse [Sun, 26 Oct 2008 03:03:29 +0000 (03:03 +0000)]
test #558 verifies loop operation using malloc() and free()

16 years agoadd missing header inclusions
Yang Tse [Sat, 25 Oct 2008 16:15:21 +0000 (16:15 +0000)]
add missing header inclusions

16 years agoAdded experimental support for zlib and OpenSSL on Symbian OS.
Dan Fandrich [Sat, 25 Oct 2008 05:41:01 +0000 (05:41 +0000)]
Added experimental support for zlib and OpenSSL on Symbian OS.

16 years agoicc adjustments:
Yang Tse [Sat, 25 Oct 2008 04:18:48 +0000 (04:18 +0000)]
icc adjustments:

  Select ANSI C89 dialect plus GNU extensions, again.

16 years agoadd missing header inclusions
Yang Tse [Sat, 25 Oct 2008 03:52:21 +0000 (03:52 +0000)]
add missing header inclusions

16 years agoStop using in6addr_any because it's not available everywhere (e.g. Symbian)
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.

16 years agoAdded rawstr.c to Symbian curl build
Dan Fandrich [Fri, 24 Oct 2008 18:45:00 +0000 (18:45 +0000)]
Added rawstr.c to Symbian curl build

16 years agofix compiler warning
Yang Tse [Fri, 24 Oct 2008 16:59:35 +0000 (16:59 +0000)]
fix compiler warning

16 years agosome more temporary magic for the icc seg-fault issue
Yang Tse [Fri, 24 Oct 2008 12:23:24 +0000 (12:23 +0000)]
some more temporary magic for the icc seg-fault issue

16 years agoicc permanent adjustment:
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

16 years agofix compiler warning
Yang Tse [Fri, 24 Oct 2008 01:27:00 +0000 (01:27 +0000)]
fix compiler warning

16 years agoAdded rawstr.c to the non-configure curl makefiles
Dan Fandrich [Thu, 23 Oct 2008 17:36:27 +0000 (17:36 +0000)]
Added rawstr.c to the non-configure curl makefiles

16 years agoAdded rawstr.c to the non-configure libcurl makefiles
Dan Fandrich [Thu, 23 Oct 2008 17:29:14 +0000 (17:29 +0000)]
Added rawstr.c to the non-configure libcurl makefiles

16 years agomoved some definitions from tftp.h to tftpd.c
Yang Tse [Thu, 23 Oct 2008 14:34:08 +0000 (14:34 +0000)]
moved some definitions from tftp.h to tftpd.c

16 years agofix compiler warning
Yang Tse [Thu, 23 Oct 2008 14:07:28 +0000 (14:07 +0000)]
fix compiler warning

16 years agomoved the Curl_raw_ functions into the new lib/rawstr.c file for easier curlx_
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.

16 years agoicc adjustments:
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

16 years agoRaise message severity up to warning, when strerror_r() exists but
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.

16 years agoadded include to make the krb4 code compile again
Daniel Stenberg [Thu, 23 Oct 2008 08:06:47 +0000 (08:06 +0000)]
added include to make the krb4 code compile again

16 years agoReally old gcc doesn't like parenthesis around the names of functions that
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.

16 years agoTweaked a few tests to test proper Turkish locale handling
Dan Fandrich [Thu, 23 Oct 2008 01:53:27 +0000 (01:53 +0000)]
Tweaked a few tests to test proper Turkish locale handling

16 years agoCreated Curl_raw_nequal() which does a C-locale string case comparison.
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.

16 years ago#include <stdlib.h> for exit() prototype
Yang Tse [Thu, 23 Oct 2008 00:38:23 +0000 (00:38 +0000)]
#include <stdlib.h> for exit() prototype

16 years agoUpdated example sizes and disable key words
Dan Fandrich [Wed, 22 Oct 2008 21:36:37 +0000 (21:36 +0000)]
Updated example sizes and disable key words

16 years agoFixed a compiler warning with --disable-proxy
Dan Fandrich [Wed, 22 Oct 2008 17:36:48 +0000 (17:36 +0000)]
Fixed a compiler warning with --disable-proxy

16 years agofixed language, added the Solaris _REENTRANT thing
Daniel Stenberg [Wed, 22 Oct 2008 15:10:56 +0000 (15:10 +0000)]
fixed language, added the Solaris _REENTRANT thing

16 years agoFor i686 icc autobuilds:
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.

16 years agoremoved four issues that had no action at all for the last four weeks or more
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

16 years agosome more temporary magic for the icc seg-fault issue
Yang Tse [Wed, 22 Oct 2008 13:30:09 +0000 (13:30 +0000)]
some more temporary magic for the icc seg-fault issue

16 years agoremove from configure.ac 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

16 years agoChanged some arrays of char* to arrays of char[] to reduce data size and
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.

16 years agoCompile away some more code in the CURL_DISABLE_PROXY case.
Dan Fandrich [Tue, 21 Oct 2008 23:15:19 +0000 (23:15 +0000)]
Compile away some more code in the CURL_DISABLE_PROXY case.

16 years agosome more temporary magic for the icc seg-fault issue
Yang Tse [Tue, 21 Oct 2008 17:54:18 +0000 (17:54 +0000)]
some more temporary magic for the icc seg-fault issue

16 years agoFixed some problems with SFTP range support to fix test cases 634 through 637.
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.

16 years agoCharles Hardin patch:
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

16 years agoremove debug-code which zero-filled some structures before free()ing them
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

16 years agoA few prototypes shouldn't be defined if SSL is disabled.
Dan Fandrich [Mon, 20 Oct 2008 23:07:48 +0000 (23:07 +0000)]
A few prototypes shouldn't be defined if SSL is disabled.

16 years ago*** empty log message ***
Yang Tse [Mon, 20 Oct 2008 23:05:52 +0000 (23:05 +0000)]
*** empty log message ***

16 years agoAll the coverity.com issues have no been taken care of.
Daniel Stenberg [Mon, 20 Oct 2008 21:59:36 +0000 (21:59 +0000)]
All the coverity.com issues have no been taken care of.

16 years agoadded a NULL pointer check for the name field as it can in fact be NULL when
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

16 years agosome more temporary magic for the icc seg-fault issue
Yang Tse [Mon, 20 Oct 2008 15:56:08 +0000 (15:56 +0000)]
some more temporary magic for the icc seg-fault issue

16 years agomessages initially intended only for debug purposes, now become permanent
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.

16 years agofix compiler warning
Yang Tse [Sun, 19 Oct 2008 22:46:54 +0000 (22:46 +0000)]
fix compiler warning

16 years agoFixed potential memory leak in OOM situations. Detected by coverity.com
Daniel Stenberg [Sun, 19 Oct 2008 21:00:40 +0000 (21:00 +0000)]
Fixed potential memory leak in OOM situations. Detected by coverity.com

16 years agooops
Yang Tse [Sun, 19 Oct 2008 20:41:03 +0000 (20:41 +0000)]
oops

16 years agodumpeasycode() uses warnf() which uses config->errors so we must not close
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

16 years agoRemoved dead code, identified by coverity.com.
Daniel Stenberg [Sun, 19 Oct 2008 20:28:41 +0000 (20:28 +0000)]
Removed dead code, identified by coverity.com.

16 years agoattempt to fix or allow further detection of an elusive icc SIGSEGV
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

16 years agoclarified an argument's situation due to a false positive alert pointed out
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

16 years agoFixed a compiler warning in the CURL_DISABLE_HTTP case
Dan Fandrich [Sun, 19 Oct 2008 04:48:15 +0000 (04:48 +0000)]
Fixed a compiler warning in the CURL_DISABLE_HTTP case

16 years agoattempt to fix compiler warning relative to potential misaligned data access
Yang Tse [Sun, 19 Oct 2008 01:02:18 +0000 (01:02 +0000)]
attempt to fix compiler warning relative to potential misaligned data access

16 years agoRemoved some more code in the CURL_DISABLE_HTTP case
Dan Fandrich [Sat, 18 Oct 2008 01:23:14 +0000 (01:23 +0000)]
Removed some more code in the CURL_DISABLE_HTTP case

16 years agoRemoved a line of dead code (discovered by Coverity)
Dan Fandrich [Sat, 18 Oct 2008 01:17:27 +0000 (01:17 +0000)]
Removed a line of dead code (discovered by Coverity)

16 years agoForgot it's a struct
Dan Fandrich [Fri, 17 Oct 2008 22:33:08 +0000 (22:33 +0000)]
Forgot it's a struct

16 years agoFixed a compile error reported by Albert Chin on AIX and IRIX when using
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.

16 years agofix compiler warning
Yang Tse [Fri, 17 Oct 2008 19:04:53 +0000 (19:04 +0000)]
fix compiler warning

16 years agofix missing double-quotes
Yang Tse [Fri, 17 Oct 2008 17:11:11 +0000 (17:11 +0000)]
fix missing double-quotes

16 years agoprotect against 'use after free' or race condition
Yang Tse [Fri, 17 Oct 2008 15:29:35 +0000 (15:29 +0000)]
protect against 'use after free' or race condition

16 years agooops ;-)
Yang Tse [Fri, 17 Oct 2008 13:55:13 +0000 (13:55 +0000)]
oops ;-)

16 years agooops
Yang Tse [Fri, 17 Oct 2008 13:33:13 +0000 (13:33 +0000)]
oops

16 years agofix syntax error
Daniel Stenberg [Fri, 17 Oct 2008 13:23:21 +0000 (13:23 +0000)]
fix syntax error

16 years agoIntroduce new options CURLOPT_PROXY{USERNAME, PASSWORD} in OS400 code and RPG binding.
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.

16 years agofix compiler warning
Yang Tse [Fri, 17 Oct 2008 12:53:53 +0000 (12:53 +0000)]
fix compiler warning

16 years agoOOM condition fix
Yang Tse [Fri, 17 Oct 2008 12:49:02 +0000 (12:49 +0000)]
OOM condition fix

16 years agoCharles Hardin made adig support a regular numerical dotted IP address for the
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.

16 years ago185 - CURLOPT_PROXYUSER etc
Daniel Stenberg [Fri, 17 Oct 2008 08:14:47 +0000 (08:14 +0000)]
185 - CURLOPT_PROXYUSER etc
done!