aboutsummaryrefslogtreecommitdiff
path: root/tests/data/Makefile.am
AgeCommit message (Collapse)Author
2007-09-26Philip Langdale provided the new CURLOPT_POST301 option forDaniel Stenberg
curl_easy_setopt() that alters how libcurl functions when following redirects. It makes libcurl obey the RFC2616 when a 301 response is received after a non-GET request is made. Default libcurl behaviour is to change method to GET in the subsequent request (like it does for response code 302 - because that's what many/most browsers do), but with this CURLOPT_POST301 option enabled it will do what the spec says and do the next request using the same method again. I.e keep POST after 301. The curl tool got this option as --post301 Test case 1011 and 1012 were added to verify.
2007-09-24Immanuel Gregoire fixed KNOWN_BUGS #44: --ftp-method nocwd did not handleDaniel Stenberg
URLs ending with a slash properly (it should list the contents of that directory). Test case 351 brought back and also test 1010 was added.
2007-09-11Daniel S (12 September 2007)Daniel Stenberg
- Bug report #1792649 (http://curl.haxx.se/bug/view.cgi?id=1792649) pointed out a problem with doing an empty upload over FTP on a re-used connection. I added test case 541 to reproduce it and to verify the fix. - I noticed while writing test 541 that the FTP code wrongly did a CWD on the second transfer as it didn't store and remember the "" path from the previous transfer so it would instead CWD to the entry path as stored. This worked, but did a superfluous command. Thus, test case 541 now also verifies this fix.
2007-09-07Added test case 1007 to test permission problem when uploading with TFTPDan Fandrich
(to validate bug #1790403).
2007-08-30Added more accurate error code returns from SFTP operations. Added testDan Fandrich
case 615 to test an SFTP upload failure.
2007-08-24Bug report #1779054 (http://curl.haxx.se/bug/view.cgi?id=1779054) pointedDaniel Stenberg
out that libcurl didn't deal with large responses from server commands, when the single response was consisting of multiple lines but of a total size of 16KB or more. Dan Fandrich improved the ftp test script and provided test case 1006 to repeat the problem, and I fixed the code to make sure this new test case runs fine.
2007-08-23Added test case 1005 to test excessively-long replies spread out overDan Fandrich
multiple lines (similar to test case 1003).
2007-08-23Added test1004 to validate a previous fix for a memory leak when anDan Fandrich
empty proxy server is selected.
2007-08-22Bug report #1779054 (http://curl.haxx.se/bug/view.cgi?id=1779054) pointedDaniel Stenberg
out that libcurl didn't deal with very long (>16K) FTP server response lines properly. Starting now, libcurl will chop them off (thus the client app will not get the full line) but survive and deal with them fine otherwise. Test case 1003 was added to verify this.
2007-08-17Robson Braga Araujo filed bug report #1776235Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1776235) about ftp requests with NOBODY on a directory would do a "SIZE (null)" request. This is now fixed and test case 1000 was added to verify.
2007-08-17Moved the 5320 and 5322 into the 1000-series instead which is a documentedDaniel Stenberg
range. They are about FTP but the 100-199 range is full.
2007-08-17Song Ma provided a patch that cures a problem libcurl has when doing resumeDaniel Stenberg
HTTP PUT using Digest authentication. Test case 5320 and 5322 were also added to verify the functionality.
2007-08-02Dmitriy Sergeyev reported a regression: resumed file:// transfers brokeDaniel Stenberg
after 7.16.2. This is much due to the different treatment file:// gets internally, but now I added test 231 to make it less likely to happen again without us noticing!
2007-07-22Added test case 354 that makes a simple FTP retrieval without password, whichDaniel Stenberg
verifies the bug fix in #1757328.
2007-07-14Added test case 540 and lib540.c, the 'proxyauth.c' test app posted by ShmulikDaniel Stenberg
Regev on the libcurl mailing list on 10 Jul 2007, converted to a test case.
2007-07-10Fixed a curl memory leak reported by Song Ma with a modified versionDan Fandrich
of the patch he suggested. Added his test case as test289 to verify.
2007-06-19and fix another flaw in the singlecwd case when we get ftp://site.com/, alsoDaniel Stenberg
from the #1739100 bug report
2007-06-18Test listing of root dir with the three ftp-methods. KNOWN_BUGS #44 make meDaniel Stenberg
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-08Incorporated Daniel Black's test706 and test707 SOCKS test cases.Dan Fandrich
2007-06-05added 703: a socks5 version of 702Daniel Stenberg
2007-06-05Daniel Black's test suite fixes and initial test cases for SOCKS4/5 usingDaniel Stenberg
openssh
2007-05-15Added support for quote commands before a transfer using SFTP and testDan Fandrich
case 614. Allow SFTP quote commands chmod, chown, chgrp to set a value of 0.
2007-05-14Added SFTP directory listing test case 613.Dan Fandrich
2007-05-10Added FTPS upload tests 408 and 409.Dan Fandrich
2007-05-08Added FTPS test cases 406 and 407Dan Fandrich
2007-04-23Added tests 610-612 to test more SFTP post-quote commands.Dan Fandrich
2007-04-18Added test cases 296, 297 and 298 to test --ftp-method handlingDan Fandrich
2007-04-13Added test cases 294 and 295 to test --ftp-account handlingDan Fandrich
2007-04-04Added more SSH tests (left disabled for now).Dan Fandrich
2007-03-30Resurrected old FTPS error tests 402 and 403 as 404 and 405.Dan Fandrich
2007-03-30Added HTTP --max-filesize tests and FTPS CCC failure test.Dan Fandrich
2007-03-30Don't tear down the ftp connection if the maximum filesize was exceededDan Fandrich
and added tests 290 and 291 to check.
2007-03-30Added FTP-SSL failure test 402Dan Fandrich
2007-03-29Added ftps upload test 401Dan Fandrich
2007-03-26Added SFTP and SCP upload tests in test602 & test603Dan Fandrich
2007-03-24Fixed a memory leak when specifying a proxy with a file: URL and addedDan Fandrich
test case 288 to verify it.
2007-03-08Added test infrastructure to support basic FTPS tests. This currentlyDan Fandrich
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-01-29- Michael Wallner reported that when doing a CONNECT with a custom User-AgentDaniel Stenberg
header, you got _two_ User-Agent headers in the CONNECT request...! Added test case 287 to verify the fix.
2007-01-16Added simple OpenSSL crypto engine tests.Dan Fandrich
2007-01-15Added TFTP upload tests.Dan Fandrich
2007-01-10Added test for TFTP retrieve of boundary case 512 byte file.Dan Fandrich
2007-01-10Added test of TFTP server error reporting.Dan Fandrich
2006-12-11Alexey Simak found out that when doing FTP with the multi interface andDaniel Stenberg
something went wrong like it got a bad response code back from the server, libcurl would leak memory. Added test case 538 to verify the fix. I also noted that the connection would get cached in that case, which doesn't make sense since it cannot be re-use when the authentication has failed. I fixed that issue too at the same time, and also that the path would be "remembered" in vain for cases where the connection was about to get closed.
2006-11-25added the new test 282Daniel Stenberg
2006-11-01test 518 is all about testing libcurl functionalityYang Tse
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.
2006-10-25Fixed CURLOPT_FAILONERROR to return CURLE_HTTP_RETURNED_ERROR even for theDaniel Stenberg
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.
2006-10-09Bogdan Nicula's second test case (posted Sun, 08 Oct 2006) converted to testDaniel Stenberg
case 535 and it now runs fine. Again a problem with the pipelining code not taking all possible (error) conditions into account.
2006-10-08test 534 added in an attempt to repeat Bogdan Nicula's bug...Daniel Stenberg
2006-10-04Dmitriy Sergeyev provided an example source code that crashed CVS libcurlDaniel Stenberg
but that worked nicely in 7.15.5. I converted it into test case 532 and fixed the problem.
2006-09-30Support for FTP third party transfers is now droppedDaniel Stenberg