]>
granicus.if.org Git - curl/log
Yang Tse [Mon, 2 Apr 2007 04:14:59 +0000 (04:14 +0000)]
fix error in previous commit
Yang Tse [Mon, 2 Apr 2007 03:38:18 +0000 (03:38 +0000)]
fix compiler warning
Yang Tse [Mon, 2 Apr 2007 02:13:26 +0000 (02:13 +0000)]
fix compiler warning
Yang Tse [Mon, 2 Apr 2007 01:21:57 +0000 (01:21 +0000)]
verify ssh daemon version
Gunter Knauf [Sun, 1 Apr 2007 13:59:50 +0000 (13:59 +0000)]
print update message only if we really update CVS.
Gunter Knauf [Sun, 1 Apr 2007 12:37:51 +0000 (12:37 +0000)]
ignore another generated file.
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.
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.
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.
Daniel Stenberg [Sat, 31 Mar 2007 21:38:59 +0000 (21:38 +0000)]
26 flaws identified by coverity.com
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
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
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
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
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
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
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.
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.
Daniel Stenberg [Sat, 31 Mar 2007 20:46:47 +0000 (20:46 +0000)]
*** empty log message ***
Daniel Stenberg [Sat, 31 Mar 2007 20:19:02 +0000 (20:19 +0000)]
add units to a few info
Daniel Stenberg [Sat, 31 Mar 2007 20:17:26 +0000 (20:17 +0000)]
new URL for wxWidgets binding
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.
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
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
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
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
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.
Dan Fandrich [Fri, 30 Mar 2007 22:07:48 +0000 (22:07 +0000)]
Fixed some typos in the comments.
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.
Daniel Stenberg [Fri, 30 Mar 2007 20:54:32 +0000 (20:54 +0000)]
Pointer "conn" 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.
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
Daniel Stenberg [Fri, 30 Mar 2007 19:59:15 +0000 (19:59 +0000)]
dead code removed, found by the coverity.com scan
Dan Fandrich [Fri, 30 Mar 2007 18:50:55 +0000 (18:50 +0000)]
Added HTTP --max-filesize tests and FTPS CCC failure test.
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.
Yang Tse [Fri, 30 Mar 2007 02:59:39 +0000 (02:59 +0000)]
ignore more generated files
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.
Dan Fandrich [Fri, 30 Mar 2007 00:08:41 +0000 (00:08 +0000)]
Added FTP-SSL failure test 402
Dan Fandrich [Thu, 29 Mar 2007 22:50:23 +0000 (22:50 +0000)]
Added ftps upload test 401
Dan Fandrich [Thu, 29 Mar 2007 21:01:07 +0000 (21:01 +0000)]
Added a libssh2 section.
Dan Fandrich [Thu, 29 Mar 2007 20:44:06 +0000 (20:44 +0000)]
Show an absolute sftp: file path to give an additional example.
Dan Fandrich [Thu, 29 Mar 2007 19:19:06 +0000 (19:19 +0000)]
Eliminated extra / in scp/sftp URLs.
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.
Dan Fandrich [Thu, 29 Mar 2007 18:46:09 +0000 (18:46 +0000)]
Add another option to tighten the test environment.
Yang Tse [Thu, 29 Mar 2007 12:29:32 +0000 (12:29 +0000)]
fix compiler warning
Dan Fandrich [Thu, 29 Mar 2007 05:25:11 +0000 (05:25 +0000)]
Abort if attempting to run as root.
Yang Tse [Thu, 29 Mar 2007 00:11:55 +0000 (00:11 +0000)]
fix error introduced in last commit
Yang Tse [Wed, 28 Mar 2007 23:53:13 +0000 (23:53 +0000)]
Update comment
Yang Tse [Wed, 28 Mar 2007 19:05:43 +0000 (19:05 +0000)]
fix compiler warning
Yang Tse [Wed, 28 Mar 2007 18:59:42 +0000 (18:59 +0000)]
Improve detection of socket events which allow a further recv() call
to complete with no delay and actually find out what happened with
the socket. As well as detection of socket send()able condition.
This also allows removal of a Cygwin specific block of code.
Gisle Vanem [Wed, 28 Mar 2007 04:48:11 +0000 (04:48 +0000)]
djgpp uses gcc which has varadic macros.
Gisle Vanem [Wed, 28 Mar 2007 04:44:14 +0000 (04:44 +0000)]
Fix compiler warning.
Dan Fandrich [Wed, 28 Mar 2007 04:36:09 +0000 (04:36 +0000)]
Only show exit status in verbose mode.
Gisle Vanem [Wed, 28 Mar 2007 04:23:33 +0000 (04:23 +0000)]
Simplified code around 'tld_errmsg' a bit.
Dan Fandrich [Wed, 28 Mar 2007 04:05:55 +0000 (04:05 +0000)]
Don't launch sshd as a daemon so its output can be logged.
Gunter Knauf [Tue, 27 Mar 2007 19:27:43 +0000 (19:27 +0000)]
added variadic macro stuff.
Yang Tse [Tue, 27 Mar 2007 18:16:35 +0000 (18:16 +0000)]
Update message
Yang Tse [Tue, 27 Mar 2007 18:15:26 +0000 (18:15 +0000)]
New Internal wrapper function Curl_select() around select (2), it
uses poll() when a fine poll() is available, so now libcurl can be
built without select() support at all if a fine poll() is available.
Yang Tse [Tue, 27 Mar 2007 15:22:49 +0000 (15:22 +0000)]
don't retry select() call upon unrecoverable error EBADF
Dan Fandrich [Tue, 27 Mar 2007 05:10:20 +0000 (05:10 +0000)]
Daniel Johnson's fix for shared object extension detection on Mac OS X.
Yang Tse [Tue, 27 Mar 2007 04:17:26 +0000 (04:17 +0000)]
Platforms that lack autotools support should define HAVE_VARIADIC_MACROS_C99
and/or HAVE_VARIADIC_MACROS_GCC for specific compiler versions that support
variadic macros with C99 style and/or old gcc style in their specific config.h
file.
If previous definitions are not done, even when aplicable, and --disable-verbose
is used, the fallback (void) method will be used to define infof, avoiding the
inclusion of unwanted strings in the resulting library/executable.
Dan Fandrich [Tue, 27 Mar 2007 04:01:39 +0000 (04:01 +0000)]
Tighten up a few more OpenSSH options
Yang Tse [Mon, 26 Mar 2007 23:26:07 +0000 (23:26 +0000)]
Fix date
Yang Tse [Mon, 26 Mar 2007 23:23:46 +0000 (23:23 +0000)]
Internal function Curl_select() renamed to Curl_socket_ready()
Dan Fandrich [Mon, 26 Mar 2007 19:23:00 +0000 (19:23 +0000)]
Added SFTP and SCP upload tests in test602 & test603
Dan Fandrich [Mon, 26 Mar 2007 18:04:05 +0000 (18:04 +0000)]
Added test600 and test601, SFTP and SCP file retrieval tests.
Gunter Knauf [Mon, 26 Mar 2007 17:18:36 +0000 (17:18 +0000)]
catch up new lib extension when build with gcc/nlmconv.
Gunter Knauf [Mon, 26 Mar 2007 17:01:35 +0000 (17:01 +0000)]
changed link lib order to make nlmconv happy.
Gunter Knauf [Mon, 26 Mar 2007 01:54:06 +0000 (01:54 +0000)]
added CVS Id tag.
Gunter Knauf [Mon, 26 Mar 2007 01:50:44 +0000 (01:50 +0000)]
fixed build to use compiler-default lib extension.
Daniel Stenberg [Sun, 25 Mar 2007 08:41:41 +0000 (08:41 +0000)]
#92 is fixed
Daniel Stenberg [Sun, 25 Mar 2007 08:41:22 +0000 (08:41 +0000)]
Added the How to get your patches into the libcurl sources instruction posted
recently
Daniel Stenberg [Sun, 25 Mar 2007 08:16:42 +0000 (08:16 +0000)]
added Daniel Johnson
Daniel Stenberg [Sun, 25 Mar 2007 08:16:16 +0000 (08:16 +0000)]
- Daniel Johnson fixed multi code to traverse the easy handle list properly.
A left-over bug from the February 21 fix.
Daniel Stenberg [Sun, 25 Mar 2007 07:44:05 +0000 (07:44 +0000)]
addressed (replied to with comments) most out-stading release issues and moved
one over to KNOWN_BUGS
Yang Tse [Sun, 25 Mar 2007 03:20:17 +0000 (03:20 +0000)]
fix compiler warning
Yang Tse [Sun, 25 Mar 2007 02:30:58 +0000 (02:30 +0000)]
fix compiler warning
Yang Tse [Sun, 25 Mar 2007 01:59:52 +0000 (01:59 +0000)]
fix compiler warning
Dan Fandrich [Sat, 24 Mar 2007 17:23:01 +0000 (17:23 +0000)]
Fixed a couple of compile problems.
Dan Fandrich [Sat, 24 Mar 2007 06:29:58 +0000 (06:29 +0000)]
Added sshserver.pl
Dan Fandrich [Sat, 24 Mar 2007 02:15:20 +0000 (02:15 +0000)]
Fixed a memory leak when specifying a proxy with a file: URL and added
test case 288 to verify it.
Dan Fandrich [Sat, 24 Mar 2007 01:01:28 +0000 (01:01 +0000)]
Changed the test harness to attempt to gracefully shut down servers
before resorting to the kill -9 hammer.
Added test harness infrastructure to support scp/sftp tests, using
OpenSSH as the server.
Daniel Stenberg [Fri, 23 Mar 2007 22:25:04 +0000 (22:25 +0000)]
add missing state name for the debug state switch output
Daniel Stenberg [Fri, 23 Mar 2007 22:24:33 +0000 (22:24 +0000)]
fix debug message
Dan Fandrich [Fri, 23 Mar 2007 17:59:40 +0000 (17:59 +0000)]
Added --pubkey option to curl and made --key also work for SCP/SFTP,
plus made --pass work on an SSH private key as well.
Yang Tse [Fri, 23 Mar 2007 12:13:08 +0000 (12:13 +0000)]
fix yet another leftover in previous commit
Yang Tse [Fri, 23 Mar 2007 12:09:16 +0000 (12:09 +0000)]
fix leftover in previous commit
Yang Tse [Fri, 23 Mar 2007 12:01:19 +0000 (12:01 +0000)]
fix compiler warning: empty body in an if/else-statement
Yang Tse [Fri, 23 Mar 2007 04:23:53 +0000 (04:23 +0000)]
Change spelling, ONE_TERRABYTE -> ONE_TERABYTE
Shave off a couple of function calls in the part of
Curl_pgrsUpdate() which is always executed when called.
Fix a couple of comments.
Dan Fandrich [Fri, 23 Mar 2007 00:03:34 +0000 (00:03 +0000)]
Don't shut down sftp in an error if it was never started.
Dan Fandrich [Thu, 22 Mar 2007 19:45:20 +0000 (19:45 +0000)]
Free some additional strings on exit to avoid memory leaks.
Yang Tse [Thu, 22 Mar 2007 18:59:14 +0000 (18:59 +0000)]
fix wrong macro name introduced in las commit
Yang Tse [Thu, 22 Mar 2007 18:25:38 +0000 (18:25 +0000)]
Add check for compiler variadic macro support in configuration script
Dan Fandrich [Thu, 22 Mar 2007 17:58:01 +0000 (17:58 +0000)]
Fixed unused variable compiler warning.
Dan Fandrich [Thu, 22 Mar 2007 17:18:41 +0000 (17:18 +0000)]
Use C99-style variadic macros when available.
Yang Tse [Thu, 22 Mar 2007 15:32:28 +0000 (15:32 +0000)]
Add a couple of local macros to improve code readability.
For completeness sake, wait_ms() might also get interrupted when
experimental CURL_ACKNOWLEDGE_EINTR is defined.
Daniel Stenberg [Thu, 22 Mar 2007 15:23:00 +0000 (15:23 +0000)]
-z hasn't supported "yesterday" for quite some time...
Yang Tse [Thu, 22 Mar 2007 14:41:10 +0000 (14:41 +0000)]
attempt to keep message length below 80 chars
Yang Tse [Wed, 21 Mar 2007 13:09:39 +0000 (13:09 +0000)]
reverted back to previous version => http://curl.haxx.se/mail/lib-2007-03/0258.html
Yang Tse [Wed, 21 Mar 2007 08:17:13 +0000 (08:17 +0000)]
avoid the use of variadic macros for greater portability