Daniel Stenberg [Fri, 3 Nov 2006 12:22:13 +0000 (12:22 +0000)]
initial SCP support is now added
Daniel Stenberg [Fri, 3 Nov 2006 10:56:37 +0000 (10:56 +0000)]
Update the information about what c-ares version that's required. 1.3.1 had
a fatal bug so we must require 1.3.2 to get flawless functionality with c-ares.
Daniel Stenberg [Fri, 3 Nov 2006 10:47:35 +0000 (10:47 +0000)]
stand clear for release 1.3.2
Daniel Stenberg [Fri, 3 Nov 2006 10:41:33 +0000 (10:41 +0000)]
Andreas Rieke added missing file and changed line endings
Yang Tse [Fri, 3 Nov 2006 10:05:21 +0000 (10:05 +0000)]
reduce max size of dinamically allocated arrays to minimize the nasty
behaviour some versions of IRIX exhibit of committing suicide on big
mallocs instead of just returning a friendly null pointer
Yang Tse [Fri, 3 Nov 2006 03:05:15 +0000 (03:05 +0000)]
fix missing '$' for var OPT_LIBSSH2
Yang Tse [Fri, 3 Nov 2006 02:36:32 +0000 (02:36 +0000)]
update copyright year
Yang Tse [Fri, 3 Nov 2006 01:57:25 +0000 (01:57 +0000)]
fix comments and renumber rlimit return codes
fix closing of fd's when limit is reached
Yang Tse [Fri, 3 Nov 2006 01:56:55 +0000 (01:56 +0000)]
fix comments and renumber rlimit return codes
Daniel Stenberg [Thu, 2 Nov 2006 22:11:38 +0000 (22:11 +0000)]
update the counter
Daniel Stenberg [Thu, 2 Nov 2006 22:10:18 +0000 (22:10 +0000)]
mention the new options
Daniel Stenberg [Thu, 2 Nov 2006 21:56:40 +0000 (21:56 +0000)]
James Housley brought support for SCP transfers
Yang Tse [Thu, 2 Nov 2006 20:56:40 +0000 (20:56 +0000)]
remove leftover comment
Yang Tse [Thu, 2 Nov 2006 20:50:18 +0000 (20:50 +0000)]
update and split test cases 518 and 537 into its own source code file
Yang Tse [Thu, 2 Nov 2006 15:47:24 +0000 (15:47 +0000)]
code cleanup
Yang Tse [Thu, 2 Nov 2006 03:45:07 +0000 (03:45 +0000)]
use our internal string functions and replace sprintf with snprintf
Yang Tse [Thu, 2 Nov 2006 01:21:28 +0000 (01:21 +0000)]
Update protocol verification end of lines
Yang Tse [Thu, 2 Nov 2006 00:34:21 +0000 (00:34 +0000)]
check symbol HAVE_UNISTD_H instead of UNISTD_H to include unistd.h
Yang Tse [Thu, 2 Nov 2006 00:33:43 +0000 (00:33 +0000)]
prototype for gethostname is in unistd.h
Yang Tse [Wed, 1 Nov 2006 18:33:50 +0000 (18:33 +0000)]
test 518 is all about testing libcurl functionality
when more than FD_SETSIZE file descriptors are open.
This means that if for any reason we are not able to
open more than FD_SETSIZE file descriptors then test
518 should not be run.
test 537 is all about testing libcurl functionality
when the system has nearly exhausted the number of
free file descriptors. Test 537 will try to run with
very few free file descriptors.
Gisle Vanem [Tue, 31 Oct 2006 20:45:17 +0000 (20:45 +0000)]
Updated dependency output.
Gisle Vanem [Tue, 31 Oct 2006 20:44:36 +0000 (20:44 +0000)]
Updated dependencies to not include config.h.
Gisle Vanem [Tue, 31 Oct 2006 18:01:07 +0000 (18:01 +0000)]
Removed unneeded stuff.
Gisle Vanem [Tue, 31 Oct 2006 17:54:51 +0000 (17:54 +0000)]
Added Watt-32 section to fix things for Watt32+Win32 targets.
Gisle Vanem [Tue, 31 Oct 2006 17:51:54 +0000 (17:51 +0000)]
Don't include "nameser.h" for Watt32. Use the normal BSD-socket headers.
Gisle Vanem [Tue, 31 Oct 2006 17:25:48 +0000 (17:25 +0000)]
Added definition of select() for Watt32.
Gisle Vanem [Tue, 31 Oct 2006 17:24:25 +0000 (17:24 +0000)]
Rewritten to use ../packages/DOS/common.dj.
Gisle Vanem [Tue, 31 Oct 2006 16:25:30 +0000 (16:25 +0000)]
Change 'FILETYPE' to ' VFT_APP'.
Yang Tse [Tue, 31 Oct 2006 01:30:42 +0000 (01:30 +0000)]
Show stderr log file for test 518 unconditionally.
In this way we'll be able to sort out problems that might
arise in the prechek phase of the 518 test.
Once that 518 has been verified this change will be undone.
Yang Tse [Tue, 31 Oct 2006 01:24:03 +0000 (01:24 +0000)]
Sync comment with code and add three messages more
Yang Tse [Mon, 30 Oct 2006 17:24:31 +0000 (17:24 +0000)]
Address some pitfalls in the rlimit() function check that were
preventing execution of this test on many platforms
Gisle Vanem [Mon, 30 Oct 2006 16:26:24 +0000 (16:26 +0000)]
Allow 'curl_*printf()' to be used in C++ programs.
Daniel Stenberg [Mon, 30 Oct 2006 09:03:34 +0000 (09:03 +0000)]
add contributors from the 7.16.0 release
Daniel Stenberg [Mon, 30 Oct 2006 08:52:12 +0000 (08:52 +0000)]
start working on 7.16.1
Daniel Stenberg [Sun, 29 Oct 2006 23:03:14 +0000 (23:03 +0000)]
7.16.0 material
Daniel Stenberg [Sun, 29 Oct 2006 23:00:52 +0000 (23:00 +0000)]
corrected how tests/memanalyze.pl is used
Yang Tse [Sun, 29 Oct 2006 21:19:23 +0000 (21:19 +0000)]
Compiler warning fix
Yang Tse [Sun, 29 Oct 2006 14:58:59 +0000 (14:58 +0000)]
Make more human readable and maintainable previous
compiler warning fix since it was Ok and actually
avoids the targeted compiler warning.
Daniel Stenberg [Sun, 29 Oct 2006 09:18:32 +0000 (09:18 +0000)]
updated to current status
Daniel Stenberg [Sun, 29 Oct 2006 09:11:44 +0000 (09:11 +0000)]
updated to reflect reality
Daniel Stenberg [Fri, 27 Oct 2006 21:07:08 +0000 (21:07 +0000)]
a small unification of the error text on failed server startups
Yang Tse [Fri, 27 Oct 2006 15:37:26 +0000 (15:37 +0000)]
Sync with lib/setup_once.h
Yang Tse [Fri, 27 Oct 2006 15:32:18 +0000 (15:32 +0000)]
Compiler warning fix.
Assigning the const value zero to a pointer to function
results in a null pointer value assignment to the function
pointer.
Assignment of any nonzero value is what should result in a
implementation compiler dependent result.
Since what we want to do here is the first case, this should
not trigger compiler warnings related with conversions from
'pointer to data' to 'pointer to function'.
Our autobuild test suite will judge.
Gisle Vanem [Fri, 27 Oct 2006 14:13:32 +0000 (14:13 +0000)]
Fixed 'x_TYPE_ARG2' to match prototypes of recv() and send().
Gisle Vanem [Fri, 27 Oct 2006 14:07:32 +0000 (14:07 +0000)]
Get rid of the special sread()+swrite() for MSDOS. Use recv()
and send(). Added needed HAVE_x defines.
Gisle Vanem [Fri, 27 Oct 2006 13:57:16 +0000 (13:57 +0000)]
Added 'RECV_TYPE_ARGx' needed in getinfo.c.
Yang Tse [Fri, 27 Oct 2006 03:47:57 +0000 (03:47 +0000)]
Update copyright year, since the file has been modified
Yang Tse [Fri, 27 Oct 2006 02:18:29 +0000 (02:18 +0000)]
Compiler warning fix
Yang Tse [Fri, 27 Oct 2006 01:58:59 +0000 (01:58 +0000)]
30 seconds isn't long enough for this test on a loaded server.
Yang Tse [Fri, 27 Oct 2006 01:04:41 +0000 (01:04 +0000)]
Do an explicit typecast of data pointers to function pointers
to avoid picky compiler warnings, since this is what we want!
Gisle Vanem [Thu, 26 Oct 2006 14:30:11 +0000 (14:30 +0000)]
Use proper 'stat' structure for fstat(). I.e. 'struct _stati64' and '_fstati64()'
on Win32.
Yang Tse [Thu, 26 Oct 2006 13:55:24 +0000 (13:55 +0000)]
Improved rlimit logic:
- Take in account RLIM_INFINITY.
- Verify that soft limit is actually changed when doing so.
- Show errno in case getrlimit or setrlimit fails.
- Keep file descriptors open only while runing this test.
Yang Tse [Thu, 26 Oct 2006 11:15:25 +0000 (11:15 +0000)]
Fix Curl_open() not reporting failure when allocation of the
buffer used to store headers in the SessionHandle failed.
Yang Tse [Thu, 26 Oct 2006 09:50:21 +0000 (09:50 +0000)]
30 seconds isn't long enough for this test on a loaded server.
Daniel Stenberg [Wed, 25 Oct 2006 21:07:26 +0000 (21:07 +0000)]
a Smalltalk binding
Daniel Stenberg [Wed, 25 Oct 2006 20:40:14 +0000 (20:40 +0000)]
Fixed CURLOPT_FAILONERROR to return CURLE_HTTP_RETURNED_ERROR even for the
case when 401 or 407 are returned, *IF* no auth credentials have been given.
The CURLOPT_FAILONERROR option is not possible to make fool-proof for 401
and 407 cases when auth credentials is given, but we've now covered this
somewhat more.
You might get some amounts of headers transferred before this situation is
detected, like for when a "100-continue" is received as a response to a
POST/PUT and a 401 or 407 is received immediately afterwards.
Added test 281 to verify this change.
Gisle Vanem [Wed, 25 Oct 2006 14:16:01 +0000 (14:16 +0000)]
Fixed "'x' might be used uninitialized in this function" warning.
Removed trailing whitespace.
Gisle Vanem [Wed, 25 Oct 2006 14:13:35 +0000 (14:13 +0000)]
Added '-d' option for Watt32 targets. Added cvs id.
Yang Tse [Wed, 25 Oct 2006 10:25:43 +0000 (10:25 +0000)]
Compiler warning fix
Yang Tse [Wed, 25 Oct 2006 09:20:44 +0000 (09:20 +0000)]
Add project notice and file Id
Yang Tse [Wed, 25 Oct 2006 08:52:00 +0000 (08:52 +0000)]
Compiler warning fix
Daniel Stenberg [Wed, 25 Oct 2006 07:19:45 +0000 (07:19 +0000)]
updated copyright year
Yang Tse [Wed, 25 Oct 2006 05:59:46 +0000 (05:59 +0000)]
Use curl_global_init() and curl_global_cleanup().
Improve cleanup in case of initialization failure.
Daniel Stenberg [Tue, 24 Oct 2006 21:14:40 +0000 (21:14 +0000)]
other pipelining fixes by Ravi Pratap, that now makes pipelines get used better
Yang Tse [Tue, 24 Oct 2006 15:51:42 +0000 (15:51 +0000)]
Abort test if it seems that it would have run forever. This is just to prevent
test hanging and actually is an indication that there's a condition that is
not being properly handled at some point in the library.
Remove a pair of braces and adjust indentation appropriately.
Daniel Stenberg [Mon, 23 Oct 2006 20:41:50 +0000 (20:41 +0000)]
the check in ConnectionExists() for not re-using a non-resolved connection now
applies for asynch name resolves in general and not only ares
Daniel Stenberg [Mon, 23 Oct 2006 20:34:56 +0000 (20:34 +0000)]
Ravi Pratap provided a major update with pipelining fixes. We also no longer
re-use connections (for pipelining) before the name resolving is done.
Yang Tse [Mon, 23 Oct 2006 19:16:19 +0000 (19:16 +0000)]
Avoid trying to compare more than strlen bytes.
Dan Fandrich [Mon, 23 Oct 2006 19:15:14 +0000 (19:15 +0000)]
30 seconds isn't long enough for this test on a loaded server.
Yang Tse [Mon, 23 Oct 2006 19:14:54 +0000 (19:14 +0000)]
Replace is*() macros with our own IS*() ones.
Daniel Stenberg [Sun, 22 Oct 2006 22:18:24 +0000 (22:18 +0000)]
Nir Soffer fixed a cp line and got rid of an rm
Daniel Stenberg [Sun, 22 Oct 2006 07:43:34 +0000 (07:43 +0000)]
until we learn how to use Makefile.inc from here, I've added socks.o in here
as well
Yang Tse [Sat, 21 Oct 2006 17:08:48 +0000 (17:08 +0000)]
Provide 'datarootdir' parameter to shutup configuration warning,
'packages/EPM/curl.list.in seems to ignore the --datarootdir setting'
Yang Tse [Sat, 21 Oct 2006 16:25:31 +0000 (16:25 +0000)]
Fix misplaced runtime library specification for 'release-dll' target
Daniel Stenberg [Sat, 21 Oct 2006 13:00:51 +0000 (13:00 +0000)]
rely on the global LDADD instead of having specific ones for every program
Daniel Stenberg [Sat, 21 Oct 2006 12:49:45 +0000 (12:49 +0000)]
Nir Soffer for his Makefile.am fix
Yang Tse [Sat, 21 Oct 2006 12:36:10 +0000 (12:36 +0000)]
Fix copy-paste error
Yang Tse [Sat, 21 Oct 2006 12:35:16 +0000 (12:35 +0000)]
Compiler warning fix
Daniel Stenberg [Sat, 21 Oct 2006 11:40:04 +0000 (11:40 +0000)]
Nir Soffer made the tests/libtest/Makefile.am use a proper variable for all
the single test applications' link and dependences, so that you easier can
override those from the command line when using make.
Daniel Stenberg [Sat, 21 Oct 2006 11:32:05 +0000 (11:32 +0000)]
Armel Asselin separated CA cert verification problems from problems with
reading the (local) CA cert file to let users easier pinpoint the actual
problem. CURLE_SSL_CACERT_BADFILE (77) is the new libcurl error code.
Yang Tse [Sat, 21 Oct 2006 10:54:41 +0000 (10:54 +0000)]
Compiler warning fix
Daniel Stenberg [Fri, 20 Oct 2006 21:26:10 +0000 (21:26 +0000)]
made the arrow for 'Send SSL data' point in the right direction!
Yang Tse [Fri, 20 Oct 2006 17:54:05 +0000 (17:54 +0000)]
Compiler warning fix
Yang Tse [Fri, 20 Oct 2006 17:16:06 +0000 (17:16 +0000)]
Since now src/setup.h includes setup_once.h, src/config-win32.h needs
the definitions for the return type and arguments types of functions
recv() and send().
Yang Tse [Fri, 20 Oct 2006 15:45:12 +0000 (15:45 +0000)]
Oops! Actually set the limit to 30 seconds.
Yang Tse [Fri, 20 Oct 2006 15:39:54 +0000 (15:39 +0000)]
Decrease the posibility of aborting a test which actually is not
stale by replacing loop counters with timeouts. In this way the
main loop of the test will be allowed to run up to 30 seconds on
any platform before aborting it.
Daniel Stenberg [Fri, 20 Oct 2006 12:25:39 +0000 (12:25 +0000)]
When a resolve is made on a pipelined connection we need to detect it properly
(when the resoling isn't completede yet) and not confuse it with a simple
connection re-use (non-pipelined).
Yang Tse [Thu, 19 Oct 2006 23:35:52 +0000 (23:35 +0000)]
Set loop2 counter limit to 60 on this test to avoid a false positive.
Yang Tse [Thu, 19 Oct 2006 22:49:33 +0000 (22:49 +0000)]
Replace tabs with spaces and Compiler warning fix.
Yang Tse [Thu, 19 Oct 2006 22:48:33 +0000 (22:48 +0000)]
Compiler warning fix
Yang Tse [Thu, 19 Oct 2006 21:12:27 +0000 (21:12 +0000)]
When aborting, show loop counter values when more than one counter exists.
Yang Tse [Thu, 19 Oct 2006 17:29:25 +0000 (17:29 +0000)]
Abort test if it seems that it would have run forever. This is just to prevent
test hanging and actually is an indication that there's a condition that is
not being properly handled at some point in the library.
Loop counter limits might need to be further increased on false positives.
Daniel Stenberg [Thu, 19 Oct 2006 14:28:50 +0000 (14:28 +0000)]
Here's an effort to avoid saying 'data not shown' in the debug parts when the
data is actually shown on screen. Like when you do 'curl -v host' with data
and debug info sent to the same terminal.
Yang Tse [Thu, 19 Oct 2006 02:30:02 +0000 (02:30 +0000)]
Builds using synchronous name resolver dislike marking the connection as async.
Yang Tse [Wed, 18 Oct 2006 21:25:12 +0000 (21:25 +0000)]
Sync with lib/setup_once.h
Yang Tse [Wed, 18 Oct 2006 21:05:40 +0000 (21:05 +0000)]
Check for USE_WINSOCK instead of WIN32 where the check was done
to verify winsock API availability.
Yang Tse [Wed, 18 Oct 2006 15:57:49 +0000 (15:57 +0000)]
Introduce symbol USE_WINSOCK which will be defined when
using winsock or winsock2 API.
Daniel Stenberg [Wed, 18 Oct 2006 15:11:24 +0000 (15:11 +0000)]
the expire timer is a bit too annoying to see all the time ;-)
Daniel Stenberg [Wed, 18 Oct 2006 15:10:49 +0000 (15:10 +0000)]
When a connection is re-used, it can be flagged for re-use before the name
resolving is completed so we must make sure to survive it and mark the
connection as async (ie not yet connected completely).
Daniel Stenberg [Wed, 18 Oct 2006 14:47:58 +0000 (14:47 +0000)]
use the return code from lseek() to detect problems and bail out if so