Dan Fandrich
19631f5d5f
Force the time zone to GMT in the cookie tests in case the user is
...
using one of the so-called 'right' time zones that take into account
leap seconds, which causes the tests to fail (as reported by
Daniel Black in bug report #1745964 ).
2007-07-10 22:27:16 +00:00
James Housley
a8d6b40736
The previous commits changed the error code
2007-07-10 22:26:59 +00:00
Dan Fandrich
93bd512357
Fixed a curl memory leak reported by Song Ma with a modified version
...
of the patch he suggested. Added his test case as test289 to verify.
2007-07-10 22:23:16 +00:00
Daniel Stenberg
974fa1242a
Adjusted how libcurl treats HTTP 1.1 responses without content-lenth or
...
chunked encoding (that also lacks "Connection: close"). It now simply
assumes that the connection WILL be closed to signal the end, as that is how
RFC2616 section 4.4 point #5 says we should behave.
2007-06-25 13:58:14 +00:00
Daniel Stenberg
a1b650ad7b
Gerrit Bruchhäuser pointed out a warning that the Intel(R) Thread Checker
...
tool reports and it was indeed a legitimate one and it is one fixed. It was
a use of a share without doing the proper locking first.
2007-06-21 14:23:38 +00:00
Daniel Stenberg
fc3c5dae87
and fix another flaw in the singlecwd case when we get ftp://site.com/, also
...
from the #1739100 bug report
2007-06-19 12:33:28 +00:00
Daniel Stenberg
cc26cc5dcd
Test listing of root dir with the three ftp-methods. KNOWN_BUGS #44 make me
...
disable test 351 by default by I add the test case anyway to make it easier
to work on this problem in the future.
2007-06-18 21:04:05 +00:00
Dan Fandrich
873d95a34c
Incorporated Daniel Black's test706 and test707 SOCKS test cases.
2007-06-08 17:21:40 +00:00
Dan Fandrich
345ffd1163
Cleaned up SOCKS tests. Use a magic port number instead of killserver
...
to do nonlistening server tests, like other tests.
2007-06-07 20:14:00 +00:00
Daniel Stenberg
e86dfd9688
added 703: a socks5 version of 702
2007-06-05 13:52:34 +00:00
Daniel Stenberg
a466b31574
Daniel Black's test suite fixes and initial test cases for SOCKS4/5 using
...
openssh
2007-06-05 13:50:59 +00:00
Dan Fandrich
ea43bb013b
Added support for quote commands before a transfer using SFTP and test
...
case 614.
Allow SFTP quote commands chmod, chown, chgrp to set a value of 0.
2007-05-15 00:28:50 +00:00
Dan Fandrich
b0a4c992e7
Added SFTP directory listing test case 613.
2007-05-14 22:03:42 +00:00
Dan Fandrich
85707460e5
Added FTPS upload tests 408 and 409.
2007-05-10 20:03:20 +00:00
Dan Fandrich
ed998270aa
Added FTPS test cases 406 and 407
2007-05-08 22:14:30 +00:00
Dan Fandrich
5187faeeb9
Improved the test harness to allow running test servers on other than
...
the default port numbers, allowing more than one test suite to run
simultaneously on the same host.
2007-04-30 20:15:33 +00:00
Dan Fandrich
1228ec9fbb
Fixed some tests to stop hard-coding the port number.
2007-04-30 19:05:48 +00:00
Dan Fandrich
6a35841b2e
Added tests 610-612 to test more SFTP post-quote commands.
2007-04-23 23:00:38 +00:00
Dan Fandrich
3398eca7c3
Changed another nonexistent host name to be under the haxx.se domain
...
to guarantee against it ever being valid.
2007-04-23 01:51:02 +00:00
Dan Fandrich
ae3d5949b8
Various test file cleanups, including using <servercmd> instead of writing
...
directly to ftpserver.cmd and removing unneeded empty sections.
2007-04-18 20:22:01 +00:00
Dan Fandrich
66fc5498d2
Added test cases 296, 297 and 298 to test --ftp-method handling
2007-04-18 06:30:28 +00:00
Dan Fandrich
71a0d50f48
Added test cases 294 and 295 to test --ftp-account handling
2007-04-13 20:59:15 +00:00
Yang Tse
8d2a0fe85b
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.
2007-04-13 11:35:19 +00:00
Dan Fandrich
de17f4436e
Changed error return codes to match update code.
2007-04-09 18:24:56 +00:00
Dan Fandrich
c1ab3e2d59
Enabled the ssh tests 600-609.
2007-04-05 19:28:33 +00:00
Dan Fandrich
0969a96732
Whoops--didn't mean to enable the ssh tests quite yet.
2007-04-04 04:57:40 +00:00
Dan Fandrich
27d2d78059
Added more SSH tests (left disabled for now).
2007-04-04 00:48:37 +00:00
Dan Fandrich
ef10eaeb29
Added scp and sftp nonexistent file retrieval tests, but leave them
...
disabled for now.
2007-04-01 06:28:12 +00:00
Dan Fandrich
f8d78d57a7
Disable the SSH tests until the libssh2 bugs that causes test hangs
...
are sorted out.
2007-03-31 20:00:40 +00:00
Dan Fandrich
7fd154f094
Fixed some typos in the comments.
2007-03-30 22:07:48 +00:00
Dan Fandrich
a209c32bf3
Resurrected old FTPS error tests 402 and 403 as 404 and 405.
2007-03-30 22:04:14 +00:00
Dan Fandrich
40981286ea
Added HTTP --max-filesize tests and FTPS CCC failure test.
2007-03-30 18:50:55 +00:00
Dan Fandrich
ffb11ad5c6
Don't tear down the ftp connection if the maximum filesize was exceeded
...
and added tests 290 and 291 to check.
2007-03-30 01:13:47 +00:00
Dan Fandrich
fbb1e49215
Added FTP-SSL failure test 402
2007-03-30 00:08:41 +00:00
Dan Fandrich
c26320d94f
Added ftps upload test 401
2007-03-29 22:50:23 +00:00
Dan Fandrich
c563a53c16
Eliminated extra / in scp/sftp URLs.
2007-03-29 19:19:06 +00:00
Dan Fandrich
2166645ce4
Added SFTP and SCP upload tests in test602 & test603
2007-03-26 19:23:00 +00:00
Dan Fandrich
844f5b6b45
Added test600 and test601, SFTP and SCP file retrieval tests.
2007-03-26 18:04:05 +00:00
Dan Fandrich
0dd1219668
Fixed a memory leak when specifying a proxy with a file: URL and added
...
test case 288 to verify it.
2007-03-24 02:15:20 +00:00
Dan Fandrich
a20a6f67c5
Fixed the test case to use a truly invalid urlglob range.
2007-03-16 04:34:53 +00:00
Dan Fandrich
e12d46ac50
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.
2007-03-09 23:39:42 +00:00
Dan Fandrich
1962ebf8e7
Updated the test harness to check for protocol support before running each
...
test, fixing KNOWN_BUGS #11 . Fixed some tests to more accurately specify
their required servers and features.
2007-03-09 21:01:39 +00:00
Dan Fandrich
0f0540d00b
Added SSL as a required feature for test case 400.
2007-03-08 19:50:32 +00:00
Dan Fandrich
1bfa7dfe39
Added test infrastructure to support basic FTPS tests. This currently
...
supports only ftps:// URLs with --ftp-ssl-control specified, which
implicitly encrypts the control channel but not the data channels. That
allows stunnel to be used with an unmodified ftp server in exactly the
same way that the test https server is set up.
Added test case 400 as a basic FTPS test.
2007-03-08 02:38:49 +00:00
Yang Tse
e5f8e5e57a
stricter newline policy
2007-03-03 05:16:57 +00:00
Yang Tse
bfd6474f6b
stricter newline policy
2007-03-03 02:06:44 +00:00
Daniel Stenberg
f19d333ef6
- Ravi Pratap provided work on libcurl making pipelining more robust and
...
fixing some bugs:
o Don't mix GET and POST requests in a pipeline
o Fix the order in which requests are dispatched from the pipeline
o Fixed several curl bugs with pipelining when the server is returning
chunked encoding:
* Added states to chunked parsing for final CRLF
* Rewind buffer after parsing chunk with data remaining
* Moved chunked header initializing to a spot just before receiving
headers
2007-02-21 21:59:40 +00:00
Daniel Stenberg
4efa0d9f68
ftp@example.com is now the new anonymous FTP password. I opted for 'ftp' on
...
the left side of @ to make it short(er).
2007-02-13 22:50:16 +00:00
Yang Tse
9b6474378a
Year 2038 has its own problems (32 bit integer overflow).
...
So cookie expiration date is lowered to expire at most in 2035.
2007-02-05 02:38:25 +00:00
Yang Tse
f71c8c7d84
fix leftover updating cookie expiration date
2007-02-02 11:49:15 +00:00