Yang Tse
22e84d92b7
when terminating do it falling through cleanup code
2008-02-28 10:13:07 +00:00
Yang Tse
3d74649908
avoid inclusion of setup.h in util.h
2008-02-28 09:38:32 +00:00
Yang Tse
ed63d9d4de
header inclusion cleanup
2008-02-28 00:55:06 +00:00
Yang Tse
8adc7038fe
make comment more precise
2008-02-27 14:54:18 +00:00
Daniel Stenberg
b12fef3f31
Michal Marek's cleanup of how curl_easy_setopt() is used in examples and
...
test code. Thanks to his curl_easy_setopt() typechecker work...
2008-02-27 09:06:15 +00:00
Gunter Knauf
97a41f3646
trial to fix the HP-UX breakage...
2008-02-26 23:06:15 +00:00
Yang Tse
058e764af8
all reads from stdin and writes to stdout will be retried until the
...
whole operation completes or an unrecoverable condition is detected
2008-02-26 18:13:59 +00:00
Yang Tse
0d09f342c4
refactor some code out to write_pidfile() in util.c
2008-02-26 15:06:44 +00:00
Yang Tse
1d95109ffa
Revert sockfilt.c back to revision 1.42
...
Changes introduced in revision 1.43 were useless
2008-02-22 09:31:18 +00:00
Yang Tse
064eebeaf1
Avoid timeout restart when signal caught while awaiting socket and stdin events
2008-02-20 17:17:18 +00:00
Daniel Stenberg
e6170eb20d
- Fixed test case 405 to not fail when libcurl is built with GnuTLS
2008-02-20 12:18:08 +00:00
Daniel Stenberg
2c80bcbc81
made the non-matching error code output nicer since we know it is a number
...
and the string contains a newline...
2008-02-20 12:14:31 +00:00
Daniel Stenberg
55700cb01f
- We no longer support setting the CURLOPT_URL option from inside a callback
...
such as the CURLOPT_SSL_CTX_FUNCTION one treat that as if it was a Location:
following. The patch that introduced this feature was done for 7.11.0, but
this code and functionality has been broken since about 7.15.4 (March 2006)
with the introduction of non-blocking OpenSSL "connects".
It was a hack to begin with and since it doesn't work and hasn't worked
correctly for a long time and nobody has even noticed, I consider it a very
suitable subject for plain removal. And so it was done.
2008-02-20 08:28:02 +00:00
Dan Fandrich
0cae201044
Added test309 to test HTTP redirect to HTTPS URL
2008-02-19 21:57:41 +00:00
Yang Tse
9df37b93df
juggle() actually returns bool.
...
Remove redundant and unreachable log message.
2008-02-19 18:51:08 +00:00
Yang Tse
c9eb41c056
Reduce to 20 seconds the time allowed to set SO_REUSEADDR option on sockfilt listener socket.
...
Log some more error descriptions.
2008-02-18 20:13:30 +00:00
Yang Tse
23547fa2a0
sockfilt will quit when orphaned
2008-02-17 04:36:08 +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
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
Yang Tse
8f9e0357dd
Additional SunSSH 1.1 ssh server options
2008-02-11 14:28:48 +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
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
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
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
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
Yang Tse
03bbf4de48
When possible, use additional config options for test harness ssh server,
...
which are deprecated in recent OpenSSH versions but are current for SunSSH.
2008-01-31 16:37:16 +00:00
Daniel Stenberg
a62e155ca4
- Niklas Angebrand made the cookie support in libcurl properly deal with the
...
"HttpOnly" feature introduced by Microsoft and apparently also supported by
Firefox: http://msdn2.microsoft.com/en-us/library/ms533046.aspx . HttpOnly
is now supported when received from servers in HTTP headers, when written to
cookie jars and when read from existing cookie jars.
2008-01-31 12:21:57 +00:00
Daniel Stenberg
7b9435890d
add verbose output to test 509 for easier debugging
2008-01-29 23:10:25 +00:00
Daniel Stenberg
ceb5a8ca7b
- Michal Marek fixed minor mistake in test case 553 that prevented it from
...
working on other IP-addresses or port numbers.
2008-01-29 12:31:11 +00:00
Yang Tse
8fca5c2e69
Dont rely on PAMAuthenticationViaKbdInt default being 'no'
2008-01-27 02:35:20 +00:00
Daniel Stenberg
5f2055729e
added test 1021 to verify my fix for bug report #1879375
2008-01-26 00:13:38 +00:00
Yang Tse
69e540dfa6
improve request initialization for test harness HTTP server
2008-01-25 05:08:53 +00:00
Yang Tse
2198869eb1
Dmitry Kurochkin's test harness HTTP server pipelining fix fot test 530
2008-01-25 05:07:04 +00:00
Yang Tse
bdb2beb8e4
check availability of poll.h header at configuration time, and include
...
it when sys/poll.h is unavailable
2008-01-22 14:52:54 +00:00
Yang Tse
3caeb0a91f
undo using internal *printf() clones for test #530
2008-01-21 05:35:08 +00:00
Yang Tse
a4eddf0d0d
use internal *printf() clones since snprintf() not available on all platforms
2008-01-20 22:53:56 +00:00
Yang Tse
e9490fdbd9
Also disable GSSAPIAuthentication for the test harness ssh client
2008-01-20 04:05:25 +00:00
Daniel Stenberg
daadcfd1de
Dmitry Kurochkin fixed test case 530 (pipelining)
2008-01-19 10:14:45 +00:00