Dan Fandrich
c66943bd89
Updated some out-of-date information.
2008-02-13 23:06:21 +00:00
Daniel Stenberg
11fae450fa
make this test disabled properly when built with yassl
2008-02-13 21:36:24 +00:00
Yang Tse
cf9259dd92
verifyserver() actually returns the pid of the unsecure http and ftp servers
...
when verifying the https and ftps servers
2008-02-13 06:06:57 +00:00
Yang Tse
6634e3c3a3
On heavily loaded systems any test server start up can take longer than the
...
timeout passed to startnew, when this happens startnew completes without being
able to read the pidfile and consequently returns a zero pid2.
To fix the above posibility the server pid is recovered from the verification
stage which will actually return the server pid when verification is valid.
2008-02-12 13:47:56 +00:00
Yang Tse
533ae704a1
fix grammatical issues
2008-02-12 01:11:55 +00:00
Daniel Stenberg
fcc320ee40
Yang Tse pointed out a few remaining quirks from my timeout refactoring from
...
Feb 7 that didn't abort properly on timeouts. These are actually old
problems but now they should be fixed.
2008-02-11 22:03:31 +00:00
Yang Tse
dc9fe9c361
shell startup scripts and possible influence in scp/sftp/socks tests
2008-02-11 20:21:06 +00:00
Dan Fandrich
75c369dcca
Disable test due to keyword before disabling due to bad server.
2008-02-11 20:10:36 +00:00
Gunter Knauf
019f6a1926
open pipe to openssl commandline instead of writing into temp file.
2008-02-11 18:52:45 +00:00
Dan Fandrich
44fba11b34
Fixed unused variable warning.
2008-02-11 18:27:36 +00:00
Gunter Knauf
df07c87b89
added strict to make sure all vars are properly defined;
...
added -t switch to make text info of CAs optional;
added -q switch to be really quiet.
2008-02-11 15:00:00 +00:00
Yang Tse
8f9e0357dd
Additional SunSSH 1.1 ssh server options
2008-02-11 14:28:48 +00:00
Yang Tse
736af32b49
Bug report #1888932 ( http://curl.haxx.se/bug/view.cgi?id=1888932 ) points
...
out and provides test program that demonstrates that libcurl might not set
error description message for error CURLE_COULDNT_RESOLVE_HOST for Windows
threaded name resolver builds. Fixed now.
2008-02-10 04:20:09 +00:00
Yang Tse
6942d313ff
Verify only once test harness sftp server connectivity and functionality.
...
Make sure that the sftp client tool uses the ssh client binary that we have
used to generate the configuration files, otherwise sftp might be using one
located in the preferred path compiled into sftp.
2008-02-10 02:52:17 +00:00
Gunter Knauf
940c075bd8
removed 'mv' call and changed to use new backup feature of mk-ca-bundle.pl.
2008-02-10 01:32:43 +00:00
Gunter Knauf
08e5c0812f
added -b switch to provide a backup functionality for existing ca-bundle.crt file.
2008-02-10 01:29:24 +00:00
Gunter Knauf
a8c71961e0
fixed another wrong var in error message.
2008-02-09 15:32:54 +00:00
Gunter Knauf
d6f47cc60c
make use of mv's backup feature so that calling the ca-bundle target more than once will never fail; ignore error which can occure if for whatever reason there's no orignial ca-bundle.crt to rename.
2008-02-09 15:07:35 +00:00
Gunter Knauf
63d595a047
fixed wrong var in error message.
2008-02-09 15:00:07 +00:00
Dan Fandrich
15e56c3284
Fixed some XML parsing problems.
2008-02-09 02:37:31 +00:00
Dan Fandrich
fc1443dcfc
Added key words to all SSL-using tests so they can be skipped if necessary.
...
Removed a few unnecessary requires SSL statements.
2008-02-09 02:08:34 +00:00
Dan Fandrich
59e3651af3
Fixed test to use HTTPS as documented.
2008-02-09 02:01:36 +00:00
Daniel Stenberg
4c841a1f0c
- Mike Hommey filed and fixed bug report #1889856
...
(http://curl.haxx.se/bug/view.cgi?id=1889856 ): When using the gnutls ssl
layer, cleaning-up and reinitializing curl ends up with https requests
failing with "ASN1 parser: Element was not found" errors. Obviously a
regression added in 7.16.3.
2008-02-08 22:02:00 +00:00
Gunter Knauf
339ebdf08b
fixed a typo.
2008-02-08 21:04:24 +00:00
Dan Fandrich
f01d324c83
Missed checking in these test data files.
2008-02-08 18:42:12 +00:00
Yang Tse
405e192b8c
Get rid of sftp subsystem additional parameters, they aren't widely supported
2008-02-08 17:32:58 +00:00
Yang Tse
1a340de0e5
To verify that the sftp server is actually running, responsive and that
...
all curl's tests generated configuration and key files are fine, a real
connection is established to the test harness sftp server authenticating
and running a simple sftp remote pwd command.
The verification is done using OpenSSH's or SunSSH's sftp client tool with
a configuration file with the same options as the test harness socks server
with the exception that dynamic forwarding is not used for sftp.
2008-02-08 13:54:02 +00:00
Daniel Stenberg
05c191199d
and mention make ca-bundle in the 1.11 faq entry as well
2008-02-08 11:20:20 +00:00
Daniel Stenberg
1fd7085ef1
for step 5, mention that we can now generate an own version locally if wanted
...
instead of downloading it from the curl site
2008-02-08 11:18:23 +00:00
Daniel Stenberg
c3a7a757f7
Gnter Knauf added lib/mk-ca-bundle.pl which gets the Firefox ca bundle and
...
creates a suitable ca-bundle.crt file in PEM format for use with curl. The
recommended way to run it is to use 'make ca-bundle' in the build tree root.
2008-02-08 11:16:44 +00:00
Daniel Stenberg
dca46e6470
oops, we make the copyright year ranges the simple style
2008-02-08 11:12:54 +00:00
Daniel Stenberg
7edd13822c
provide the ca-bundle target the same way as the Makefile.dist does it so that
...
it works the same way for configure-based platforms as for non-configure ones
2008-02-08 11:11:59 +00:00
Daniel Stenberg
a2bff51ede
include mk-ca-bundle.pl in the tarballs
2008-02-08 09:56:23 +00:00
Gunter Knauf
5dc1240c49
added ca-bundle target to main makefile;
...
for now this does rename the existing ca-bundle.crt to ca-bundle.crt.old;
maybe we can remove this once we are 100% sure that the new script works properly, and just overwrite the shipping one?
2008-02-08 02:57:27 +00:00
Gunter Knauf
c764331dd9
use argument to specify output filename if present.
2008-02-08 02:38:12 +00:00
Gunter Knauf
586444b6b8
fixed regex to fetch certdata.txt version since it was replaced by CVS (argh!)
...
added a switch to display certdata.txt version header.
2008-02-08 01:58:11 +00:00
Dan Fandrich
ce1649564c
Added tests 1022 and 1023 to validate output of curl-config --version and
...
--vernum
2008-02-08 01:21:03 +00:00
Gunter Knauf
d76a74cc5e
added Perl script to create a fresh ca-bundle.crt.
2008-02-08 01:08:25 +00:00
Daniel Stenberg
1b701c746f
- Refactored a lot of timeout code into a few functions in an attempt to make
...
them all use the same (hopefully correct) logic to make it less error-prone
and easier to introduce library-wide where it should be used.
2008-02-07 22:25:04 +00:00
Daniel Stenberg
15bf168527
ca-bundle.crt documentational updates that more clearly describe the bundle
...
ca-bundle.crt file as outdated and in need for replacement by anyone who wants
to verify modern peers as the one we have is from year 2000!
2008-02-07 15:43:36 +00:00
Yang Tse
20e9fc73e2
Fix problem in strdup replacement when dealing with absolutely huge strings.
2008-02-06 19:01:13 +00:00
Yang Tse
bad6410d08
Don't try to compare more than strlen chars
2008-02-06 17:35:17 +00:00
Yang Tse
fecb67b246
Use a long int data type to handle getpid() result
2008-02-06 16:54:01 +00:00
Yang Tse
2c0956200f
Fix buffer size specification.
...
Improve handling of boundary conditions for huge requests.
2008-02-05 18:37:53 +00:00
Yang Tse
acd9d72466
Minor variable type cleanups.
...
Disable "swsbounce" mode when the received request
isn't for the same test and part number.
2008-02-05 14:43:16 +00:00
Yang Tse
cd63a461d7
proper initialization of httprequest, no longer zeroing out twice
...
the whole 150000+ bytes struct, and also removing an equally big
additional buffer for pipelining treatment.
2008-02-05 02:21:38 +00:00
Gunter Knauf
7bd098f670
fixed entry symbols when linked with posix prelude.
2008-02-04 22:40:59 +00:00
Gunter Knauf
4b5c504bd4
added makefile flag to link with NLM POSIX semantics.
2008-02-04 22:29:52 +00:00
Daniel Stenberg
ffae4f6b48
- Dmitry Kurochkin cleaned up the pipelining code and removed the need for and
...
use of the "is_in_pipeline" struct field.
2008-02-03 12:31:35 +00:00
Daniel Stenberg
454e840590
threaded-ssl.c is a little example that does multi-threaded downloads from
...
HTTPS sites with OpenSSL-enabled libcurl (and pthreads) and thus do the
thread-locking and things openssl-style.
2008-02-03 12:28:48 +00:00