platform/upstream/curl.git
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.

17 years agofix compiler warning
Yang Tse [Thu, 29 Mar 2007 12:29:32 +0000 (12:29 +0000)]
fix compiler warning

17 years agoAbort if attempting to run as root.
Dan Fandrich [Thu, 29 Mar 2007 05:25:11 +0000 (05:25 +0000)]
Abort if attempting to run as root.

17 years agofix error introduced in last commit
Yang Tse [Thu, 29 Mar 2007 00:11:55 +0000 (00:11 +0000)]
fix error introduced in last commit

17 years agoUpdate comment
Yang Tse [Wed, 28 Mar 2007 23:53:13 +0000 (23:53 +0000)]
Update comment

17 years agofix compiler warning
Yang Tse [Wed, 28 Mar 2007 19:05:43 +0000 (19:05 +0000)]
fix compiler warning

17 years agoImprove detection of socket events which allow a further recv() call
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.

17 years agodjgpp uses gcc which has varadic macros.
Gisle Vanem [Wed, 28 Mar 2007 04:48:11 +0000 (04:48 +0000)]
djgpp uses gcc which has varadic macros.

17 years agoFix compiler warning.
Gisle Vanem [Wed, 28 Mar 2007 04:44:14 +0000 (04:44 +0000)]
Fix compiler warning.

17 years agoOnly show exit status in verbose mode.
Dan Fandrich [Wed, 28 Mar 2007 04:36:09 +0000 (04:36 +0000)]
Only show exit status in verbose mode.

17 years agoSimplified code around 'tld_errmsg' a bit.
Gisle Vanem [Wed, 28 Mar 2007 04:23:33 +0000 (04:23 +0000)]
Simplified code around 'tld_errmsg' a bit.

17 years agoDon't launch sshd as a daemon so its output can be logged.
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.

17 years agoadded variadic macro stuff.
Gunter Knauf [Tue, 27 Mar 2007 19:27:43 +0000 (19:27 +0000)]
added variadic macro stuff.

17 years agoUpdate message
Yang Tse [Tue, 27 Mar 2007 18:16:35 +0000 (18:16 +0000)]
Update message

17 years agoNew Internal wrapper function Curl_select() around select (2), it
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.

17 years agodon't retry select() call upon unrecoverable error EBADF
Yang Tse [Tue, 27 Mar 2007 15:22:49 +0000 (15:22 +0000)]
don't retry select() call upon unrecoverable error EBADF

17 years agoDaniel Johnson's fix for shared object extension detection on Mac OS X.
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.

17 years agoPlatforms that lack autotools support should define HAVE_VARIADIC_MACROS_C99
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.

17 years agoTighten up a few more OpenSSH options
Dan Fandrich [Tue, 27 Mar 2007 04:01:39 +0000 (04:01 +0000)]
Tighten up a few more OpenSSH options

17 years agoFix date
Yang Tse [Mon, 26 Mar 2007 23:26:07 +0000 (23:26 +0000)]
Fix date

17 years agoInternal function Curl_select() renamed to Curl_socket_ready()
Yang Tse [Mon, 26 Mar 2007 23:23:46 +0000 (23:23 +0000)]
Internal function Curl_select() renamed to Curl_socket_ready()

17 years agoAdded SFTP and SCP upload tests in test602 & test603
Dan Fandrich [Mon, 26 Mar 2007 19:23:00 +0000 (19:23 +0000)]
Added SFTP and SCP upload tests in test602 & test603

17 years agoAdded test600 and test601, SFTP and SCP file retrieval tests.
Dan Fandrich [Mon, 26 Mar 2007 18:04:05 +0000 (18:04 +0000)]
Added test600 and test601, SFTP and SCP file retrieval tests.

17 years agocatch up new lib extension when build with gcc/nlmconv.
Gunter Knauf [Mon, 26 Mar 2007 17:18:36 +0000 (17:18 +0000)]
catch up new lib extension when build with gcc/nlmconv.

17 years agochanged link lib order to make nlmconv happy.
Gunter Knauf [Mon, 26 Mar 2007 17:01:35 +0000 (17:01 +0000)]
changed link lib order to make nlmconv happy.

17 years agoadded CVS Id tag.
Gunter Knauf [Mon, 26 Mar 2007 01:54:06 +0000 (01:54 +0000)]
added CVS Id tag.

17 years agofixed build to use compiler-default lib extension.
Gunter Knauf [Mon, 26 Mar 2007 01:50:44 +0000 (01:50 +0000)]
fixed  build to use compiler-default lib extension.

17 years ago#92 is fixed
Daniel Stenberg [Sun, 25 Mar 2007 08:41:41 +0000 (08:41 +0000)]
#92 is fixed

17 years agoAdded the How to get your patches into the libcurl sources instruction posted
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

17 years agoadded Daniel Johnson
Daniel Stenberg [Sun, 25 Mar 2007 08:16:42 +0000 (08:16 +0000)]
added Daniel Johnson

17 years ago- Daniel Johnson fixed multi code to traverse the easy handle list properly.
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.

17 years agoaddressed (replied to with comments) most out-stading release issues and moved
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

17 years agofix compiler warning
Yang Tse [Sun, 25 Mar 2007 03:20:17 +0000 (03:20 +0000)]
fix compiler warning

17 years agofix compiler warning
Yang Tse [Sun, 25 Mar 2007 02:30:58 +0000 (02:30 +0000)]
fix compiler warning

17 years agofix compiler warning
Yang Tse [Sun, 25 Mar 2007 01:59:52 +0000 (01:59 +0000)]
fix compiler warning

17 years agoFixed a couple of compile problems.
Dan Fandrich [Sat, 24 Mar 2007 17:23:01 +0000 (17:23 +0000)]
Fixed a couple of compile problems.

17 years agoAdded sshserver.pl
Dan Fandrich [Sat, 24 Mar 2007 06:29:58 +0000 (06:29 +0000)]
Added sshserver.pl

17 years agoFixed a memory leak when specifying a proxy with a file: URL and added
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.

17 years agoChanged the test harness to attempt to gracefully shut down servers
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.

17 years agoadd missing state name for the debug state switch output
Daniel Stenberg [Fri, 23 Mar 2007 22:25:04 +0000 (22:25 +0000)]
add missing state name for the debug state switch output

17 years agofix debug message
Daniel Stenberg [Fri, 23 Mar 2007 22:24:33 +0000 (22:24 +0000)]
fix debug message

17 years agoAdded --pubkey option to curl and made --key also work for SCP/SFTP,
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.

17 years agofix yet another leftover in previous commit
Yang Tse [Fri, 23 Mar 2007 12:13:08 +0000 (12:13 +0000)]
fix yet another leftover in previous commit

17 years agofix leftover in previous commit
Yang Tse [Fri, 23 Mar 2007 12:09:16 +0000 (12:09 +0000)]
fix leftover in previous commit

17 years agofix compiler warning: empty body in an if/else-statement
Yang Tse [Fri, 23 Mar 2007 12:01:19 +0000 (12:01 +0000)]
fix compiler warning: empty body in an if/else-statement

17 years agoChange spelling, ONE_TERRABYTE -> ONE_TERABYTE
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.

17 years agoDon't shut down sftp in an error if it was never started.
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.

17 years agoFree some additional strings on exit to avoid memory leaks.
Dan Fandrich [Thu, 22 Mar 2007 19:45:20 +0000 (19:45 +0000)]
Free some additional strings on exit to avoid memory leaks.

17 years agofix wrong macro name introduced in las commit
Yang Tse [Thu, 22 Mar 2007 18:59:14 +0000 (18:59 +0000)]
fix wrong macro name introduced in las commit

17 years agoAdd check for compiler variadic macro support in configuration script
Yang Tse [Thu, 22 Mar 2007 18:25:38 +0000 (18:25 +0000)]
Add check for compiler variadic macro support in configuration script

17 years agoFixed unused variable compiler warning.
Dan Fandrich [Thu, 22 Mar 2007 17:58:01 +0000 (17:58 +0000)]
Fixed unused variable compiler warning.

17 years agoUse C99-style variadic macros when available.
Dan Fandrich [Thu, 22 Mar 2007 17:18:41 +0000 (17:18 +0000)]
Use C99-style variadic macros when available.

17 years agoAdd a couple of local macros to improve code readability.
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.

17 years ago-z hasn't supported "yesterday" for quite some time...
Daniel Stenberg [Thu, 22 Mar 2007 15:23:00 +0000 (15:23 +0000)]
-z hasn't supported "yesterday" for quite some time...

17 years agoattempt to keep message length below 80 chars
Yang Tse [Thu, 22 Mar 2007 14:41:10 +0000 (14:41 +0000)]
attempt to keep message length below 80 chars

17 years agoreverted back to previous version => http://curl.haxx.se/mail/lib-2007-03/0258.html
Yang Tse [Wed, 21 Mar 2007 13:09:39 +0000 (13:09 +0000)]
reverted back to previous version => curl.haxx.se/mail/lib-2007-03/0258.html

17 years agoavoid the use of variadic macros for greater portability
Yang Tse [Wed, 21 Mar 2007 08:17:13 +0000 (08:17 +0000)]
avoid the use of variadic macros for greater portability

17 years agofix compiler warning: implicit conversion from "long" to "int"
Yang Tse [Wed, 21 Mar 2007 07:29:03 +0000 (07:29 +0000)]
fix compiler warning: implicit conversion from "long" to "int"

17 years agoFixed: When a signal was caught awaiting for an event using Curl_select()
Yang Tse [Tue, 20 Mar 2007 20:00:40 +0000 (20:00 +0000)]
Fixed: When a signal was caught awaiting for an event using Curl_select()
or Curl_poll() with a non-zero timeout both functions would restart the
specified timeout. This could even lead to the extreme case that if a
signal arrived with a frecuency lower to the specified timeout neither
function would ever exit.

Added experimental symbol definition check CURL_ACKNOWLEDGE_EINTR in
Curl_select() and Curl_poll(). When compiled with CURL_ACKNOWLEDGE_EINTR
defined both functions will return as soon as a signal is caught. Use it
at your own risk, all calls to these functions in the library should be
revisited and checked before fully supporting this feature.

17 years agoRemove unneeded 'HAVE_*' defines.
Gisle Vanem [Tue, 20 Mar 2007 16:30:14 +0000 (16:30 +0000)]
Remove unneeded 'HAVE_*' defines.

17 years agoAvoid false positive detection of yaSSL
Yang Tse [Mon, 19 Mar 2007 15:41:28 +0000 (15:41 +0000)]
Avoid false positive detection of yaSSL

17 years agocommitted
Daniel Stenberg [Mon, 19 Mar 2007 12:14:49 +0000 (12:14 +0000)]
committed

17 years agoBryan Henderson fixed the progress function so that it can get called
Yang Tse [Mon, 19 Mar 2007 12:02:33 +0000 (12:02 +0000)]
Bryan Henderson fixed the progress function so that it can get called
more frequently allowing same calling frecuency for the client progress
callback, while keeping the once a second frecuency for speed calculations
and internal display of the transfer progress.

17 years agolanguage fix
Daniel Stenberg [Sun, 18 Mar 2007 23:16:36 +0000 (23:16 +0000)]
language fix

17 years agoRemoved: yassl build breaks
Daniel Stenberg [Sun, 18 Mar 2007 23:13:45 +0000 (23:13 +0000)]
Removed: yassl build breaks
Added: Frequent calling of user progress callback

17 years agodetect and show if built with yassl, but also set the "openssl" flag internally
Daniel Stenberg [Sun, 18 Mar 2007 22:37:23 +0000 (22:37 +0000)]
detect and show if built with yassl, but also set the "openssl" flag internally
since that is the API yassl attempts to provide

17 years agodetect if built with the OpenSSL API "emulated" by yassl
Daniel Stenberg [Sun, 18 Mar 2007 22:36:34 +0000 (22:36 +0000)]
detect if built with the OpenSSL API "emulated" by yassl

17 years agoFix compiler warning/error: ISO C90 forbids mixed declarations and code
Yang Tse [Sun, 18 Mar 2007 17:29:24 +0000 (17:29 +0000)]
Fix compiler warning/error: ISO C90 forbids mixed declarations and code

17 years agoCode refactoring, extracting a new function wait_ms() from Curl_select and
Yang Tse [Sun, 18 Mar 2007 04:51:40 +0000 (04:51 +0000)]
Code refactoring, extracting a new function wait_ms() from Curl_select and
Curl_poll() which is called whenever not a single valid file descriptor is
passed to these functions.

Improve readibility using a poll() macro to replace WSApoll().

17 years agoRemove unneeded 'HAVE_*' defines. Detect i386 OS-target (gcc).
Gisle Vanem [Sat, 17 Mar 2007 18:19:15 +0000 (18:19 +0000)]
Remove unneeded 'HAVE_*' defines. Detect i386 OS-target (gcc).

17 years agoAdded cvs id. Use TOPDIR variable. Updated CSOURCES.
Gisle Vanem [Sat, 17 Mar 2007 17:58:45 +0000 (17:58 +0000)]
Added cvs id. Use TOPDIR variable. Updated CSOURCES.
Dependencies are now put in external file depend.dj.

17 years agoAdded a hack to work around the circular dependency when
Gisle Vanem [Sat, 17 Mar 2007 17:56:21 +0000 (17:56 +0000)]
Added a hack to work around the circular dependency when
CURL_DEBUG is defined.

17 years agoopenssl/bio.h doesn't exist when we build with yassl so avoid trying
Daniel Stenberg [Fri, 16 Mar 2007 22:44:46 +0000 (22:44 +0000)]
openssl/bio.h doesn't exist when we build with yassl so avoid trying

17 years agoFixed the test case to use a truly invalid urlglob range.
Dan Fandrich [Fri, 16 Mar 2007 04:34:53 +0000 (04:34 +0000)]
Fixed the test case to use a truly invalid urlglob range.

17 years agoSebastien Trottier's issue
Daniel Stenberg [Thu, 15 Mar 2007 22:43:11 +0000 (22:43 +0000)]
Sebastien Trottier's issue

17 years agoeight fresh issues to keep track of
Daniel Stenberg [Thu, 15 Mar 2007 22:34:49 +0000 (22:34 +0000)]
eight fresh issues to keep track of

17 years agoVarious memory leaks plugged and NULL pointer fixes made in the ssh code.
Dan Fandrich [Thu, 15 Mar 2007 22:29:10 +0000 (22:29 +0000)]
Various memory leaks plugged and NULL pointer fixes made in the ssh code.

17 years ago- Nick made the curl tool accept globbing ranges that only is one number, i.e
Daniel Stenberg [Thu, 15 Mar 2007 22:05:01 +0000 (22:05 +0000)]
- Nick made the curl tool accept globbing ranges that only is one number, i.e
  you can now use [1-1] without curl complaining.

17 years agoFixed some memory leaks in various error paths.
Dan Fandrich [Thu, 15 Mar 2007 21:25:56 +0000 (21:25 +0000)]
Fixed some memory leaks in various error paths.

17 years agoshow better description for AMD64-linux static libraries PIC check
Yang Tse [Thu, 15 Mar 2007 15:35:51 +0000 (15:35 +0000)]
show better description for AMD64-linux static libraries PIC check

17 years agoFixed a memory leak.
Dan Fandrich [Thu, 15 Mar 2007 00:04:41 +0000 (00:04 +0000)]
Fixed a memory leak.

17 years agoyassl doesn't have SSL_get_shutdown() in its OpenSSL() layer so we check for
Daniel Stenberg [Wed, 14 Mar 2007 23:40:46 +0000 (23:40 +0000)]
yassl doesn't have SSL_get_shutdown() in its OpenSSL() layer so we check for
it and avoid it, even if this cripples the CCC command

17 years agoFixed a NULL pointer dereference on sftp initialization failure.
Dan Fandrich [Wed, 14 Mar 2007 02:04:17 +0000 (02:04 +0000)]
Fixed a NULL pointer dereference on sftp initialization failure.
Added some more debug logs.

17 years ago--ftp-ssl-control is now honoured on ftps:// URLs
Dan Fandrich [Tue, 13 Mar 2007 19:54:10 +0000 (19:54 +0000)]
--ftp-ssl-control is now honoured on ftps:// URLs

17 years agoUse Curl_inet_pton() instead of inet_pton().
Gisle Vanem [Tue, 13 Mar 2007 12:52:28 +0000 (12:52 +0000)]
Use Curl_inet_pton() instead of inet_pton().

17 years agolibcurl supplies its own crypto hash functions when SSL is disabled, so
Dan Fandrich [Mon, 12 Mar 2007 20:50:16 +0000 (20:50 +0000)]
libcurl supplies its own crypto hash functions when SSL is disabled, so
'crypto' tests aren't dependent on SSL.  Compiling with
--disable-crypto-auth will cause test failures, however.

17 years agoRECV is for download
Daniel Stenberg [Mon, 12 Mar 2007 13:20:39 +0000 (13:20 +0000)]
RECV is for download

17 years agoEmmanuel Dreyfus fixed not being able to find ber_free() in
Yang Tse [Mon, 12 Mar 2007 05:09:25 +0000 (05:09 +0000)]
Emmanuel Dreyfus fixed not being able to find ber_free() in
libldap when available in liblber.

17 years agocan just as well NULLify the pointer in a single spot
Daniel Stenberg [Sun, 11 Mar 2007 22:48:58 +0000 (22:48 +0000)]
can just as well NULLify the pointer in a single spot

17 years agoreverted the pselect patch => http://curl.haxx.se/mail/lib-2007-03/0100.html
Daniel Stenberg [Sun, 11 Mar 2007 09:11:29 +0000 (09:11 +0000)]
reverted the pselect patch => curl.haxx.se/mail/lib-2007-03/0100.html

17 years agofix compiler warning: unused variable
Yang Tse [Sun, 11 Mar 2007 00:26:01 +0000 (00:26 +0000)]
fix compiler warning: unused variable

17 years agoEygene Ryabinkin fixed a use-after-free issue with HTTP transfers with the
Daniel Stenberg [Sat, 10 Mar 2007 22:51:20 +0000 (22:51 +0000)]
Eygene Ryabinkin fixed a use-after-free issue with HTTP transfers with the
multi interface

17 years agoBryan Henderson
Daniel Stenberg [Sat, 10 Mar 2007 22:36:53 +0000 (22:36 +0000)]
Bryan Henderson

17 years ago- Bryan Henderson introduces two things:
Daniel Stenberg [Sat, 10 Mar 2007 12:11:21 +0000 (12:11 +0000)]
- Bryan Henderson introduces two things:
  1) the progress callback gets called more frequently (at times)
  2) libcurl *might* call the callback when it receives a signal

17 years agopycurl 7.16.1
Daniel Stenberg [Sat, 10 Mar 2007 11:54:38 +0000 (11:54 +0000)]
pycurl 7.16.1

17 years agochange max allowed time for this test to complete to 90 seconds
Yang Tse [Sat, 10 Mar 2007 00:19:05 +0000 (00:19 +0000)]
change max allowed time for this test to complete to 90 seconds

17 years agoUpdated the test harness to add a new "crypto" feature check and updated the
Dan Fandrich [Fri, 9 Mar 2007 23:39:42 +0000 (23:39 +0000)]
Updated the test harness to add a new "crypto" feature check and updated the
appropriate test case to use it.  For now, this is treated the same as the
"SSL" feature because curl doesn't list it separately.

17 years ago- Robert Iakobashvili fixed CURLOPT_INTERFACE for IPv6.
Daniel Stenberg [Fri, 9 Mar 2007 22:48:07 +0000 (22:48 +0000)]
- Robert Iakobashvili fixed CURLOPT_INTERFACE for IPv6.

17 years ago- Robert A. Monat improved the maketgz and VC6/8 generating to set the correct
Daniel Stenberg [Fri, 9 Mar 2007 22:26:59 +0000 (22:26 +0000)]
- Robert A. Monat improved the maketgz and VC6/8 generating to set the correct
  machine type too.

17 years ago- Justin Fletcher fixed a file descriptor leak in the curl tool when trying to
Daniel Stenberg [Fri, 9 Mar 2007 21:51:38 +0000 (21:51 +0000)]
- Justin Fletcher fixed a file descriptor leak in the curl tool when trying to
  upload a file it couldn't open. Bug #1676581
  (http://curl.haxx.se/bug/view.cgi?id=1676581)