platform/upstream/curl.git
17 years agoSonia Subramanian brought our attention to a problem that happens if you set
Daniel Stenberg [Wed, 25 Apr 2007 20:20:15 +0000 (20:20 +0000)]
Sonia Subramanian brought our attention to a problem that happens if you set
the CURLOPT_RESUME_FROM or CURLOPT_RANGE options and an existing connection
in the connection cache is closed to make room for the new one when you call
curl_easy_perform(). It would then wrongly free range-related data in the
connection close funtion.

17 years agoWhen displaying log files, truncate the really longs ones such as you
Dan Fandrich [Wed, 25 Apr 2007 20:09:32 +0000 (20:09 +0000)]
When displaying log files, truncate the really longs ones such as you
would get from a torture test.

17 years agoSteve Little's fixes to allow compilation on VMS 64-bit mode
Yang Tse [Wed, 25 Apr 2007 03:00:10 +0000 (03:00 +0000)]
Steve Little's fixes to allow compilation on VMS 64-bit mode

17 years agoTreat log files and -k the same when running torture tests as when not.
Dan Fandrich [Tue, 24 Apr 2007 23:28:57 +0000 (23:28 +0000)]
Treat log files and -k the same when running torture tests as when not.

17 years agoClear out FTP server options before each new client.
Dan Fandrich [Tue, 24 Apr 2007 21:30:39 +0000 (21:30 +0000)]
Clear out FTP server options before each new client.
Wait for child processes to die to avoid creating zombies.

17 years agoRobert Iakobashvili made the 'master_buffer' get allocated first once it is
Daniel Stenberg [Tue, 24 Apr 2007 10:18:06 +0000 (10:18 +0000)]
Robert Iakobashvili made the 'master_buffer' get allocated first once it is
can/will be used as it then makes the common cases save 16KB of data for each
easy handle that isn't used for pipelining.

17 years agoAdded tests 610-612 to test more SFTP post-quote commands.
Dan Fandrich [Mon, 23 Apr 2007 23:00:38 +0000 (23:00 +0000)]
Added tests 610-612 to test more SFTP post-quote commands.

17 years agoAdded <postcheck> support to the test harness.
Dan Fandrich [Mon, 23 Apr 2007 22:58:45 +0000 (22:58 +0000)]
Added <postcheck> support to the test harness.

17 years agoMention NSS, <postcmd> commands
Dan Fandrich [Mon, 23 Apr 2007 21:18:30 +0000 (21:18 +0000)]
Mention NSS, <postcmd> commands

17 years agoChanged another nonexistent host name to be under the haxx.se domain
Dan Fandrich [Mon, 23 Apr 2007 01:51:02 +0000 (01:51 +0000)]
Changed another nonexistent host name to be under the haxx.se domain
to guarantee against it ever being valid.

17 years agoAvoid an unnecessary call to gettimeofday() when
Yang Tse [Sun, 22 Apr 2007 18:17:46 +0000 (18:17 +0000)]
Avoid an unnecessary call to gettimeofday() when
using custom timeout values.

17 years ago--without-ssl disables OpenSSL only
Daniel Stenberg [Sun, 22 Apr 2007 09:37:05 +0000 (09:37 +0000)]
--without-ssl disables OpenSSL only

17 years ago- Song Ma's warning if -r/--range is given with a "bad" range, also noted in
Daniel Stenberg [Sun, 22 Apr 2007 09:31:27 +0000 (09:31 +0000)]
- Song Ma's warning if -r/--range is given with a "bad" range, also noted in
  the man page now.

17 years agoconfigure fix and new mirror
Daniel Stenberg [Sun, 22 Apr 2007 08:51:11 +0000 (08:51 +0000)]
configure fix and new mirror

17 years agoclarify a bit on the follow-redirect logic and when curl switches from POST
Daniel Stenberg [Sun, 22 Apr 2007 08:05:40 +0000 (08:05 +0000)]
clarify a bit on the follow-redirect logic and when curl switches from POST
to GET on redirect

17 years agoshell script assigns should not have spaces, hopefully fixes bug #1705177
Daniel Stenberg [Sun, 22 Apr 2007 07:36:12 +0000 (07:36 +0000)]
shell script assigns should not have spaces, hopefully fixes bug #1705177

17 years agoDaniel Black filed bug #1704675 (http://curl.haxx.se/bug/view.cgi?id=1704675)
Daniel Stenberg [Sat, 21 Apr 2007 21:32:31 +0000 (21:32 +0000)]
Daniel Black filed bug #1704675 (curl.haxx.se/bug/view.cgi?id=1704675)
identifying a double-free problem in the SSL-dealing layer, telling GnuTLS to
free NULL credentials on closedown after a failure and a bad #ifdef for NSS
when closing down SSL.

17 years agoCurl_ssl_close(): mark the connection as not using SSL anymore, to better
Daniel Stenberg [Sat, 21 Apr 2007 21:24:53 +0000 (21:24 +0000)]
Curl_ssl_close(): mark the connection as not using SSL anymore, to better
survive getting called twice

17 years agofixed ARFLAGS for CodeWarrior build.
Gunter Knauf [Sat, 21 Apr 2007 15:32:35 +0000 (15:32 +0000)]
fixed ARFLAGS for CodeWarrior build.

17 years agoChanged an error message slightly so it can be caught easier by the
Dan Fandrich [Fri, 20 Apr 2007 17:16:32 +0000 (17:16 +0000)]
Changed an error message slightly so it can be caught easier by the
autobuild logs scanner.

17 years agoifndef check the CURL_MAX_WRITE_SIZE define to allow this value to easier be
Daniel Stenberg [Fri, 20 Apr 2007 07:19:36 +0000 (07:19 +0000)]
ifndef check the CURL_MAX_WRITE_SIZE define to allow this value to easier be
changed at build time (from command line or similar)

17 years agoinitialize pending_ms to zero to avoid compiler warning:
Yang Tse [Fri, 20 Apr 2007 01:58:15 +0000 (01:58 +0000)]
initialize pending_ms to zero to avoid compiler warning:
'pending_ms' may be used uninitialized in this function

17 years ago- Save one call to curlx_tvnow(), which calls gettimeofday(), in each of
Yang Tse [Fri, 20 Apr 2007 00:07:19 +0000 (00:07 +0000)]
- Save one call to curlx_tvnow(), which calls gettimeofday(), in each of
  Curl_socket_ready(), Curl_poll() and Curl_select() when these are called
  with a zero timeout or a timeout value indicating a blocking call should
  be performed.

  These unnecessary calls to gettimeofday() got introduced in 7.16.2 when
  fixing 'timeout would restart when signal caught while awaiting socket
  events' on 20 March 2007.

- Move some loop breaking logic from the while clause into the loop,
  avoiding compiler warning 'assignment within conditional expression'

17 years agokeep lines < 80 columns
Daniel Stenberg [Thu, 19 Apr 2007 20:20:48 +0000 (20:20 +0000)]
keep lines < 80 columns

17 years agofix comment and line spacing
Yang Tse [Thu, 19 Apr 2007 20:16:28 +0000 (20:16 +0000)]
fix comment and line spacing

17 years agoVarious test file cleanups, including using <servercmd> instead of writing
Dan Fandrich [Wed, 18 Apr 2007 20:22:01 +0000 (20:22 +0000)]
Various test file cleanups, including using <servercmd> instead of writing
directly to ftpserver.cmd and removing unneeded empty sections.

17 years agoclarify the comment about libssh2_sftp_write's return type
Daniel Stenberg [Wed, 18 Apr 2007 20:15:22 +0000 (20:15 +0000)]
clarify the comment about libssh2_sftp_write's return type

17 years ago- James Housley made SFTP uploads use libssh2's non-blocking API (if available)
Daniel Stenberg [Wed, 18 Apr 2007 20:11:47 +0000 (20:11 +0000)]
- James Housley made SFTP uploads use libssh2's non-blocking API (if available)

17 years ago- Prevent the internal progress meter from updating more frequently than once
Daniel Stenberg [Wed, 18 Apr 2007 20:02:41 +0000 (20:02 +0000)]
- Prevent the internal progress meter from updating more frequently than once
  per second.

17 years agoAdded test cases 296, 297 and 298 to test --ftp-method handling
Dan Fandrich [Wed, 18 Apr 2007 06:30:28 +0000 (06:30 +0000)]
Added test cases 296, 297 and 298 to test --ftp-method handling

17 years agoadded ranlib when library is created with ar.
Gunter Knauf [Mon, 16 Apr 2007 20:54:56 +0000 (20:54 +0000)]
added ranlib when library is created with ar.

17 years agoNo need for USE_MANUAL. Use select_s() instead of select().
Gisle Vanem [Mon, 16 Apr 2007 16:52:56 +0000 (16:52 +0000)]
No need for USE_MANUAL. Use select_s() instead of select().
Added ares_getopt.o to program sample objects.

17 years ago- Robert Iakobashvil added curl_multi_socket_action() to libcurl, which is a
Daniel Stenberg [Mon, 16 Apr 2007 16:34:08 +0000 (16:34 +0000)]
- Robert Iakobashvil added curl_multi_socket_action() to libcurl, which is a
  function that deprecates the curl_multi_socket() function. Using the new
  function the application tell libcurl what action that was found in the
  socket that it passes in. This gives a significant performance boost as it
  allows libcurl to avoid a call to poll()/select() for every call to
  curl_multi_socket*().

17 years agomove linkage var declarations to ares_getopt.h
Yang Tse [Mon, 16 Apr 2007 15:35:34 +0000 (15:35 +0000)]
move linkage var declarations to ares_getopt.h

17 years agouse Makefile.inc to determine sources.
Gunter Knauf [Mon, 16 Apr 2007 13:53:58 +0000 (13:53 +0000)]
use Makefile.inc to determine sources.

17 years agoares_getopt() command-line parser function does not belong to actual c-ares library...
Gunter Knauf [Mon, 16 Apr 2007 13:17:26 +0000 (13:17 +0000)]
ares_getopt() command-line parser function does not belong to actual c-ares library. It is just a convinience source code helper function for use in example programs adig.c and ahost.c

17 years agoJay Austin added "DH PARAMETERS" to the stunnel.pem certificate
Daniel Stenberg [Mon, 16 Apr 2007 11:55:43 +0000 (11:55 +0000)]
Jay Austin added "DH PARAMETERS" to the stunnel.pem certificate

17 years agoares_getopt() command-line parser function does not belong to actual
Yang Tse [Mon, 16 Apr 2007 09:08:15 +0000 (09:08 +0000)]
ares_getopt() command-line parser function does not belong to actual
c-ares library. It is just a convinience source code helper function
for use in example programs adig.c and ahost.c

17 years agoares_getopt() command-line parser function does not belong to actual
Yang Tse [Mon, 16 Apr 2007 09:01:16 +0000 (09:01 +0000)]
ares_getopt() command-line parser function does not belong to actual
c-ares library. It is just a convinience source code helper function
for use in example programs adig.c and ahost.c

17 years agoMinor updates to --help output
Dan Fandrich [Sun, 15 Apr 2007 06:24:43 +0000 (06:24 +0000)]
Minor updates to --help output

17 years agojayjwa added the "DH PARAMETERS" to make this work with recent stunnels
Daniel Stenberg [Sat, 14 Apr 2007 20:29:09 +0000 (20:29 +0000)]
jayjwa added the "DH PARAMETERS" to make this work with recent stunnels

17 years agoupdates
Daniel Stenberg [Sat, 14 Apr 2007 20:27:11 +0000 (20:27 +0000)]
updates

17 years agoremoved unneeded brackets with NetWare implementation.
Gunter Knauf [Sat, 14 Apr 2007 16:55:17 +0000 (16:55 +0000)]
removed unneeded brackets with NetWare implementation.

17 years agoups - c&p error.
Gunter Knauf [Sat, 14 Apr 2007 16:45:43 +0000 (16:45 +0000)]
ups - c&p error.

17 years agouse system-own getpassword() function on NetWare.
Gunter Knauf [Sat, 14 Apr 2007 16:38:13 +0000 (16:38 +0000)]
use system-own getpassword() function on NetWare.

17 years agoAdded test cases 294 and 295 to test --ftp-account handling
Dan Fandrich [Fri, 13 Apr 2007 20:59:15 +0000 (20:59 +0000)]
Added test cases 294 and 295 to test --ftp-account handling

17 years agoFix test case 534 which started to fail 2007-04-13 due to the existance
Yang Tse [Fri, 13 Apr 2007 11:35:19 +0000 (11:35 +0000)]
Fix test case 534 which started to fail 2007-04-13 due to the existance
of a new host on the net with the same silly domain the test was using
for a host which was supposed not to exist.

17 years agoproper fix for compiler warning
Yang Tse [Fri, 13 Apr 2007 08:45:07 +0000 (08:45 +0000)]
proper fix for compiler warning

17 years agoTake in account that it can be built with compiler debug info and
Yang Tse [Fri, 13 Apr 2007 08:22:56 +0000 (08:22 +0000)]
Take in account that it can be built with compiler debug info and
without the curl memory debugging leak detection code enabled.

17 years agofix compiler warning
Yang Tse [Fri, 13 Apr 2007 07:57:31 +0000 (07:57 +0000)]
fix compiler warning

17 years agoupdate!
Daniel Stenberg [Thu, 12 Apr 2007 21:53:18 +0000 (21:53 +0000)]
update!

17 years agoadd a 'vc8' target that (re-)builds the */Makefile.vc8 files
Daniel Stenberg [Thu, 12 Apr 2007 20:41:24 +0000 (20:41 +0000)]
add a 'vc8' target that (re-)builds the */Makefile.vc8 files

17 years agoSong Ma found a memory leak in the if2ip code if you pass in an interface
Daniel Stenberg [Thu, 12 Apr 2007 20:09:19 +0000 (20:09 +0000)]
Song Ma found a memory leak in the if2ip code if you pass in an interface
name longer than the name field of the ifreq struct (typically 6 bytes), as
then it wouldn't close the used dummy socket.

17 years agoupdate MSVC project files with ares_getopt()
Yang Tse [Thu, 12 Apr 2007 19:14:00 +0000 (19:14 +0000)]
update MSVC project files with ares_getopt()

17 years agouse ares_getopt for all platforms
Yang Tse [Thu, 12 Apr 2007 19:01:19 +0000 (19:01 +0000)]
use ares_getopt for all platforms

17 years agoadd ares_getopt prototype
Yang Tse [Thu, 12 Apr 2007 18:59:46 +0000 (18:59 +0000)]
add ares_getopt prototype

17 years agoRename function as ares_getopt()
Yang Tse [Thu, 12 Apr 2007 18:06:41 +0000 (18:06 +0000)]
Rename function as ares_getopt()

17 years agoReplace tabs with spaces
Yang Tse [Thu, 12 Apr 2007 17:45:57 +0000 (17:45 +0000)]
Replace tabs with spaces

17 years agoAdd file ares_getopt.c
Yang Tse [Thu, 12 Apr 2007 16:53:59 +0000 (16:53 +0000)]
Add file ares_getopt.c

Original file name getopt.c  Initial import into the c-ares source tree
on 2007-04-11.  Lifted from version 5.2 of the 'Open Mash' project with
the modified BSD license, BSD license without the advertising clause.

17 years agoWork around an out of memory situation in Curl_ftp_done instead of
Dan Fandrich [Thu, 12 Apr 2007 01:26:02 +0000 (01:26 +0000)]
Work around an out of memory situation in Curl_ftp_done instead of
returning an error code, to allow connections to be torn down
cleanly since this function can be called AFTER an OOM situation
has already been reached.

17 years agostart working on 7.16.3
Daniel Stenberg [Wed, 11 Apr 2007 13:32:59 +0000 (13:32 +0000)]
start working on 7.16.3

17 years agorestart towards 7.16.3
Daniel Stenberg [Wed, 11 Apr 2007 13:31:51 +0000 (13:31 +0000)]
restart towards 7.16.3

17 years agoadd recent contributors
Daniel Stenberg [Wed, 11 Apr 2007 13:30:09 +0000 (13:30 +0000)]
add recent contributors

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.