platform/upstream/curl.git
17 years ago7.16.2
Daniel Stenberg [Wed, 11 Apr 2007 13:12:33 +0000 (13:12 +0000)]
7.16.2

17 years agoconvenience SIG_ATOMIC_T macro definition
Yang Tse [Wed, 11 Apr 2007 11:02:13 +0000 (11:02 +0000)]
convenience SIG_ATOMIC_T macro definition

17 years agoFixed some out of memory handling issues.
Dan Fandrich [Wed, 11 Apr 2007 00:25:41 +0000 (00:25 +0000)]
Fixed some out of memory handling issues.

17 years agoFixed some out of memory handling issues.
Dan Fandrich [Tue, 10 Apr 2007 22:52:50 +0000 (22:52 +0000)]
Fixed some out of memory handling issues.

17 years agoblah
Daniel Stenberg [Tue, 10 Apr 2007 20:52:30 +0000 (20:52 +0000)]
blah

17 years ago41. When doing an operation over FTP that requires the ACCT command (but not
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

17 years agoRavi Pratap provided fixes for HTTP pipelining
Daniel Stenberg [Tue, 10 Apr 2007 20:46:40 +0000 (20:46 +0000)]
Ravi Pratap provided fixes for HTTP pipelining

17 years agoconfigure script will ignore --enable-sspi option for non-native Windows
Yang Tse [Tue, 10 Apr 2007 19:09:10 +0000 (19:09 +0000)]
configure script will ignore --enable-sspi option for non-native Windows

17 years ago--enable-sspi only supported on Windows native builds
Yang Tse [Tue, 10 Apr 2007 18:53:21 +0000 (18:53 +0000)]
--enable-sspi only supported on Windows native builds

17 years agoUpdate NTLM flag and description
Yang Tse [Tue, 10 Apr 2007 02:17:06 +0000 (02:17 +0000)]
Update NTLM flag and description

17 years agoFixed an out of memory handling issue.
Dan Fandrich [Tue, 10 Apr 2007 00:38:41 +0000 (00:38 +0000)]
Fixed an out of memory handling issue.

17 years agoHonour the -a option when -t is enabled.
Dan Fandrich [Tue, 10 Apr 2007 00:37:56 +0000 (00:37 +0000)]
Honour the -a option when -t is enabled.

17 years agoChanged error return codes to match update code.
Dan Fandrich [Mon, 9 Apr 2007 18:24:56 +0000 (18:24 +0000)]
Changed error return codes to match update code.

17 years agoVC8+ (VS2005+) has C99 variadic macro support
Yang Tse [Mon, 9 Apr 2007 17:46:01 +0000 (17:46 +0000)]
VC8+ (VS2005+) has C99 variadic macro support

17 years agofix out of memory handling issue
Yang Tse [Sun, 8 Apr 2007 22:49:38 +0000 (22:49 +0000)]
fix out of memory handling issue

17 years agoNick Zitzmann did ssh.c cleanups
Daniel Stenberg [Sun, 8 Apr 2007 22:44:21 +0000 (22:44 +0000)]
Nick Zitzmann did ssh.c cleanups

17 years agobuilds on QNX 6 again
Daniel Stenberg [Sun, 8 Apr 2007 22:23:41 +0000 (22:23 +0000)]
builds on QNX 6 again

17 years agofix out of memory handling issue
Yang Tse [Sat, 7 Apr 2007 17:25:19 +0000 (17:25 +0000)]
fix out of memory handling issue

17 years agofix out of memory handling issue
Yang Tse [Sat, 7 Apr 2007 04:51:35 +0000 (04:51 +0000)]
fix out of memory handling issue

17 years agofix compiler warning
Yang Tse [Sat, 7 Apr 2007 00:38:46 +0000 (00:38 +0000)]
fix compiler warning

17 years agofix out of memory handling issue
Yang Tse [Fri, 6 Apr 2007 20:53:15 +0000 (20:53 +0000)]
fix out of memory handling issue

17 years agoFixed a few memory leaks in OOM conditions.
Dan Fandrich [Fri, 6 Apr 2007 06:32:05 +0000 (06:32 +0000)]
Fixed a few memory leaks in OOM conditions.
Made libssh2 logging more verbose when debugging is enabled.

17 years agoIn case of test failure, try not to show log files of other tests
Yang Tse [Fri, 6 Apr 2007 04:24:13 +0000 (04:24 +0000)]
In case of test failure, try not to show log files of other tests

17 years agoEnabled the ssh tests 600-609.
Dan Fandrich [Thu, 5 Apr 2007 19:28:33 +0000 (19:28 +0000)]
Enabled the ssh tests 600-609.

17 years agoruntests -t discovered this out of memory handling issues
Yang Tse [Thu, 5 Apr 2007 11:09:46 +0000 (11:09 +0000)]
runtests -t discovered this out of memory handling issues

17 years agounify fopen() failure error message among tests, allowing
Yang Tse [Thu, 5 Apr 2007 11:05:36 +0000 (11:05 +0000)]
unify fopen() failure error message among tests, allowing
the testsuite to count them as errors of the same kind

17 years agoFurther improve displaying of individual logfiles
Yang Tse [Thu, 5 Apr 2007 00:14:27 +0000 (00:14 +0000)]
Further improve displaying of individual logfiles

17 years agoFixes some more out of memory handling bugs.
Dan Fandrich [Wed, 4 Apr 2007 23:41:35 +0000 (23:41 +0000)]
Fixes some more out of memory handling bugs.

17 years agoFixed file handle leak in OOM condition.
Dan Fandrich [Wed, 4 Apr 2007 22:49:12 +0000 (22:49 +0000)]
Fixed file handle leak in OOM condition.

17 years agoFixed curl_slist_append handling of out of memory conditions on the
Dan Fandrich [Wed, 4 Apr 2007 20:27:47 +0000 (20:27 +0000)]
Fixed curl_slist_append handling of out of memory conditions on the
easycode list (discovered by runtests' torture test).

17 years agoBuilding Windows DLLs and C run-time (CRT) linkage issues
Yang Tse [Wed, 4 Apr 2007 18:03:28 +0000 (18:03 +0000)]
Building Windows DLLs and C run-time (CRT) linkage issues

17 years agoadd debug message and expand comment
Yang Tse [Wed, 4 Apr 2007 08:58:36 +0000 (08:58 +0000)]
add debug message and expand comment

17 years agotest can be allowed to run if fopen() is capable of fopen()ing
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.

17 years agomove WinSock definitions of EBADF, EINTR, EINVAL and EAFNOSUPPORT to setup_once.h
Yang Tse [Wed, 4 Apr 2007 06:06:36 +0000 (06:06 +0000)]
move WinSock definitions of EBADF, EINTR, EINVAL and  EAFNOSUPPORT to setup_once.h

17 years agocleanup
Yang Tse [Wed, 4 Apr 2007 05:04:47 +0000 (05:04 +0000)]
cleanup

17 years agoWhoops--didn't mean to enable the ssh tests quite yet.
Dan Fandrich [Wed, 4 Apr 2007 04:57:40 +0000 (04:57 +0000)]
Whoops--didn't mean to enable the ssh tests quite yet.

17 years agotest can be allowed to run if fopen() is capable of fopen()ing
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.

17 years agoAdded more SSH tests (left disabled for now).
Dan Fandrich [Wed, 4 Apr 2007 00:48:37 +0000 (00:48 +0000)]
Added more SSH tests (left disabled for now).

17 years agoFixed a memory leak and improper shutdown on SFTP post-quote command failure.
Dan Fandrich [Wed, 4 Apr 2007 00:46:16 +0000 (00:46 +0000)]
Fixed a memory leak and improper shutdown on SFTP post-quote command failure.

17 years agoOnly one issue left to deal with. Most of the others cut due to lack of
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.

17 years agoRob Jones fixed better #ifdef'ing for a bunch of #include lines.
Daniel Stenberg [Tue, 3 Apr 2007 20:54:37 +0000 (20:54 +0000)]
Rob Jones fixed better #ifdef'ing for a bunch of #include lines.

17 years agoupdate copyright year
Yang Tse [Tue, 3 Apr 2007 18:25:18 +0000 (18:25 +0000)]
update copyright year

17 years agoVerify if the test is limited by an ancient stdio with a 256
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.

17 years agofix enumeration of disabled tests when they have the highest number
Yang Tse [Tue, 3 Apr 2007 15:59:52 +0000 (15:59 +0000)]
fix enumeration of disabled tests when they have the highest number

17 years agofix MSDOS symbol check
Yang Tse [Tue, 3 Apr 2007 15:35:19 +0000 (15:35 +0000)]
fix MSDOS symbol check

17 years agorecover code simplification lost with last commit
Yang Tse [Tue, 3 Apr 2007 13:26:05 +0000 (13:26 +0000)]
recover code simplification lost with last commit

17 years agoImprove displaying of logfiles making sure all lines end with \n
Yang Tse [Tue, 3 Apr 2007 12:27:03 +0000 (12:27 +0000)]
Improve displaying of logfiles making sure all lines end with \n
and avoid using ! as last char of line.

17 years agodjgpp isn't the only possible DOS target.
Gisle Vanem [Tue, 3 Apr 2007 10:55:01 +0000 (10:55 +0000)]
djgpp isn't the only possible DOS target.
Use the more traditional DJGPP define.
Added basename() for non-djgpp targets.

17 years agoSimplify setting binary mode on file-descriptors.
Gisle Vanem [Tue, 3 Apr 2007 10:30:36 +0000 (10:30 +0000)]
Simplify setting binary mode on file-descriptors.
Work around the non-standard _setmode() in Metaware's HighC.

17 years agoDOS targets do have setmode().
Gisle Vanem [Tue, 3 Apr 2007 10:18:38 +0000 (10:18 +0000)]
DOS targets do have setmode().

17 years agoAdded --ftp-account to --help output.
Dan Fandrich [Tue, 3 Apr 2007 04:11:12 +0000 (04:11 +0000)]
Added --ftp-account to --help output.

17 years agotry not to link with unneeded libs, avoiding global LDADD
Yang Tse [Tue, 3 Apr 2007 02:57:54 +0000 (02:57 +0000)]
try not to link with unneeded libs, avoiding global LDADD

17 years agoCleanup. Warnings related with FD_SET, FD_ISSET, and FD_ZERO macros
Yang Tse [Tue, 3 Apr 2007 02:45:04 +0000 (02:45 +0000)]
Cleanup. Warnings related with FD_SET, FD_ISSET, and FD_ZERO macros
are not icc 9.0 specific.

17 years agowhen detecting un/supported sshd options use curl's sshd config file.
Yang Tse [Tue, 3 Apr 2007 02:36:55 +0000 (02:36 +0000)]
when detecting un/supported sshd options use curl's sshd config file.

17 years agoEliminate the sshd option checking dependency on wc and make it faster.
Dan Fandrich [Tue, 3 Apr 2007 00:06:39 +0000 (00:06 +0000)]
Eliminate the sshd option checking dependency on wc and make it faster.

17 years agoNick Zitzmann made CURLOPT_POSTQUOTE work for SFTP as well.
Daniel Stenberg [Mon, 2 Apr 2007 21:24:05 +0000 (21:24 +0000)]
Nick Zitzmann made CURLOPT_POSTQUOTE work for SFTP as well.

17 years agofix error in previous commit
Yang Tse [Mon, 2 Apr 2007 04:14:59 +0000 (04:14 +0000)]
fix error in previous commit

17 years agofix compiler warning
Yang Tse [Mon, 2 Apr 2007 03:38:18 +0000 (03:38 +0000)]
fix compiler warning

17 years agofix compiler warning
Yang Tse [Mon, 2 Apr 2007 02:13:26 +0000 (02:13 +0000)]
fix compiler warning

17 years agoverify ssh daemon version
Yang Tse [Mon, 2 Apr 2007 01:21:57 +0000 (01:21 +0000)]
verify ssh daemon version

17 years agoprint update message only if we really update CVS.
Gunter Knauf [Sun, 1 Apr 2007 13:59:50 +0000 (13:59 +0000)]
print update message only if we really update CVS.

17 years agoignore another generated file.
Gunter Knauf [Sun, 1 Apr 2007 12:37:51 +0000 (12:37 +0000)]
ignore another generated file.

17 years agoRobert Iakobashvili made curl_multi_remove_handle() a lot faster when many
Daniel Stenberg [Sun, 1 Apr 2007 08:24:23 +0000 (08:24 +0000)]
Robert Iakobashvili made curl_multi_remove_handle() a lot faster when many
easy handles are added to a multi handle, by avoiding the looping over all
the handles to find which one to remove.

17 years agoMatt Kraai provided a patch that makes curl build on QNX 6 fine again. Mostly
Daniel Stenberg [Sun, 1 Apr 2007 07:51:30 +0000 (07:51 +0000)]
Matt Kraai provided a patch that makes curl build on QNX 6 fine again. Mostly
by letting configure check for setmode and ifdef on HAVE_SETMODE. NOTE: non-
configure platforms that havve setmode() needs their hard-coded config.h files
fixed. I fixed the src/config-win32.h.

17 years agoAdded scp and sftp nonexistent file retrieval tests, but leave them
Dan Fandrich [Sun, 1 Apr 2007 06:28:12 +0000 (06:28 +0000)]
Added scp and sftp nonexistent file retrieval tests, but leave them
disabled for now.

17 years ago26 flaws identified by coverity.com
Daniel Stenberg [Sat, 31 Mar 2007 21:38:59 +0000 (21:38 +0000)]
26 flaws identified by coverity.com

17 years agoSince the str2num() function gets called with the 'nextarg' pointer from
Daniel Stenberg [Sat, 31 Mar 2007 21:35:56 +0000 (21:35 +0000)]
Since the str2num() function gets called with the 'nextarg' pointer from
within the getparameter a lot, we must check it for NULL before accessing the
str data.
CID 14 of the coverity.com scan

17 years agocheck the correct variable to want about --stderr failures properly
Daniel Stenberg [Sat, 31 Mar 2007 21:28:38 +0000 (21:28 +0000)]
check the correct variable to want about --stderr failures properly
CID 18 by the coverity.com scan

17 years agofix memory leak in case of memory problems
Daniel Stenberg [Sat, 31 Mar 2007 21:20:16 +0000 (21:20 +0000)]
fix memory leak in case of memory problems
CID 16 by coverity.com scan

17 years agofix a (minor) memory leak in case of error
Daniel Stenberg [Sat, 31 Mar 2007 21:15:37 +0000 (21:15 +0000)]
fix a (minor) memory leak in case of error
CID 21 in the coverity.com scan

17 years agoPointless to check for non-NULL pointers that already have been dereferenced
Daniel Stenberg [Sat, 31 Mar 2007 21:10:05 +0000 (21:10 +0000)]
Pointless to check for non-NULL pointers that already have been dereferenced
and they have to be non-NULL long before this check.
CID 22 in the coverity.com scan

17 years agoavoid dereferencing a NULL pointer by setting a default word to lookup in case
Daniel Stenberg [Sat, 31 Mar 2007 21:06:40 +0000 (21:06 +0000)]
avoid dereferencing a NULL pointer by setting a default word to lookup in case
it is missing
CID 5 in the coverity.com scan

17 years agoBetter deal with NULL pointers.
Daniel Stenberg [Sat, 31 Mar 2007 21:01:18 +0000 (21:01 +0000)]
Better deal with NULL pointers.
CID 3 and 4 from the coverity.com scan.

17 years ago"Pixel" fixed a problem that appeared when you used -f with user+password
Daniel Stenberg [Sat, 31 Mar 2007 20:47:23 +0000 (20:47 +0000)]
"Pixel" fixed a problem that appeared when you used -f with user+password
embedded in the URL.

17 years ago*** empty log message ***
Daniel Stenberg [Sat, 31 Mar 2007 20:46:47 +0000 (20:46 +0000)]
*** empty log message ***

17 years agoadd units to a few info
Daniel Stenberg [Sat, 31 Mar 2007 20:19:02 +0000 (20:19 +0000)]
add units to a few info

17 years agonew URL for wxWidgets binding
Daniel Stenberg [Sat, 31 Mar 2007 20:17:26 +0000 (20:17 +0000)]
new URL for wxWidgets binding

17 years agoDisable the SSH tests until the libssh2 bugs that causes test hangs
Dan Fandrich [Sat, 31 Mar 2007 20:00:40 +0000 (20:00 +0000)]
Disable the SSH tests until the libssh2 bugs that causes test hangs
are sorted out.

17 years agoWhen curl_easy_duphandle() fails because it can't get or make a connection
Daniel Stenberg [Sat, 31 Mar 2007 11:28:03 +0000 (11:28 +0000)]
When curl_easy_duphandle() fails because it can't get or make a connection
cache, we must make sure not to derefence the NULL pointer...
CID 6 coverity.com scan

17 years agoThe info types cannot be checked for explicity by ANDing the types since they
Daniel Stenberg [Sat, 31 Mar 2007 11:12:28 +0000 (11:12 +0000)]
The info types cannot be checked for explicity by ANDing the types since they
have not been properly defined to allow this! Instead of changing the defines
and break the ABI/API, I opted to modify the code to check for exact type
matches.
CID 10 coverity.com scan

17 years agoCheck for a NULL easy->easy_conn in multi_getsock() since it can in fact
Daniel Stenberg [Sat, 31 Mar 2007 10:56:07 +0000 (10:56 +0000)]
Check for a NULL easy->easy_conn in multi_getsock() since it can in fact
happen when curl_multi_remove_handle() is called.
CID 13. coverity.com scan

17 years agoRemoved check for ftpcode being NULL, as later it is derefenced unconditionally
Daniel Stenberg [Sat, 31 Mar 2007 10:39:54 +0000 (10:39 +0000)]
Removed check for ftpcode being NULL, as later it is derefenced unconditionally
anyway and we can just as well rely on it being valid.
CID 12, coverity.com scan

17 years agosshd might fail to start if given an unsupported configuration option.
Yang Tse [Sat, 31 Mar 2007 03:21:08 +0000 (03:21 +0000)]
sshd might fail to start if given an unsupported configuration option.
Try to avoid this problem checking for some possible unsupported options,
and avoid using them in the configuration file.

17 years agoFixed some typos in the comments.
Dan Fandrich [Fri, 30 Mar 2007 22:07:48 +0000 (22:07 +0000)]
Fixed some typos in the comments.

17 years agoResurrected old FTPS error tests 402 and 403 as 404 and 405.
Dan Fandrich [Fri, 30 Mar 2007 22:04:14 +0000 (22:04 +0000)]
Resurrected old FTPS error tests 402 and 403 as 404 and 405.

17 years agoPointer "conn" dereferenced before NULL check. found by coverity.com scan
Daniel Stenberg [Fri, 30 Mar 2007 20:54:32 +0000 (20:54 +0000)]
Pointer "conn" dereferenced before NULL check. found by coverity.com scan

17 years agoPointer "cur_pos" dereferenced before NULL check, found by coverity.com scan.
Daniel Stenberg [Fri, 30 Mar 2007 20:52:42 +0000 (20:52 +0000)]
Pointer "cur_pos" dereferenced before NULL check, found by coverity.com scan.
Removed the NULL check since the pointer must be valid already.

17 years agopointless check for 'out' being non-NULL, since it was badly done and is
Daniel Stenberg [Fri, 30 Mar 2007 20:50:31 +0000 (20:50 +0000)]
pointless check for 'out' being non-NULL, since it was badly done and is
unnecessary - found by coverity.com scan

17 years agodead code removed, found by the coverity.com scan
Daniel Stenberg [Fri, 30 Mar 2007 19:59:15 +0000 (19:59 +0000)]
dead code removed, found by the coverity.com scan

17 years agoAdded HTTP --max-filesize tests and FTPS CCC failure test.
Dan Fandrich [Fri, 30 Mar 2007 18:50:55 +0000 (18:50 +0000)]
Added HTTP --max-filesize tests and FTPS CCC failure test.

17 years agoSearching for sshd and sftp-server will be done first
Yang Tse [Fri, 30 Mar 2007 10:11:49 +0000 (10:11 +0000)]
Searching for sshd and sftp-server will be done first
in the PATH and afterwards in other common locations.

17 years agoignore more generated files
Yang Tse [Fri, 30 Mar 2007 02:59:39 +0000 (02:59 +0000)]
ignore more generated files

17 years agoDon't tear down the ftp connection if the maximum filesize was exceeded
Dan Fandrich [Fri, 30 Mar 2007 01:13:47 +0000 (01:13 +0000)]
Don't tear down the ftp connection if the maximum filesize was exceeded
and added tests 290 and 291 to check.

17 years agoAdded FTP-SSL failure test 402
Dan Fandrich [Fri, 30 Mar 2007 00:08:41 +0000 (00:08 +0000)]
Added FTP-SSL failure test 402

17 years agoAdded ftps upload test 401
Dan Fandrich [Thu, 29 Mar 2007 22:50:23 +0000 (22:50 +0000)]
Added ftps upload test 401

17 years agoAdded a libssh2 section.
Dan Fandrich [Thu, 29 Mar 2007 21:01:07 +0000 (21:01 +0000)]
Added a libssh2 section.

17 years agoShow an absolute sftp: file path to give an additional example.
Dan Fandrich [Thu, 29 Mar 2007 20:44:06 +0000 (20:44 +0000)]
Show an absolute sftp: file path to give an additional example.

17 years agoEliminated extra / in scp/sftp URLs.
Dan Fandrich [Thu, 29 Mar 2007 19:19:06 +0000 (19:19 +0000)]
Eliminated extra / in scp/sftp URLs.

17 years agoSend an EOF message before closing a channel, as recommended by RFC4254.
Dan Fandrich [Thu, 29 Mar 2007 19:17:18 +0000 (19:17 +0000)]
Send an EOF message before closing a channel, as recommended by RFC4254.
Enable libssh2 tracing when ssh debugging is turned on.

17 years agoAdd another option to tighten the test environment.
Dan Fandrich [Thu, 29 Mar 2007 18:46:09 +0000 (18:46 +0000)]
Add another option to tighten the test environment.