aboutsummaryrefslogtreecommitdiff
path: root/tests/data
AgeCommit message (Collapse)Author
2009-04-17- Pramod Sharma reported and tracked down a bug when doing FTP over a HTTPDaniel Stenberg
proxy. libcurl would then wrongly close the connection after each request. In his case it had the weird side-effect that it killed NTLM auth for the proxy causing an inifinite loop! I added test case 1098 to verify this fix. The test case does however not properly verify that the transfers are done persistently - as I couldn't think of a clever way to achieve it right now - but you need to read the stderr output after a test run to see that it truly did the right thing.
2009-03-03Added test 1097 to verify the bug Axel Kuhn epidox posted on March 3 2009Daniel Stenberg
on curl-users, it is also added to DISABLED since I don't have time to work on it further right now.
2009-02-19verify that a 550-response for a RETR returns 78 but also that the controlDaniel Stenberg
connection is kept alive afterwards
2009-02-02- Craig A West brought us: libcurl now defaults to do CONNECT with HTTPDaniel Stenberg
version 1.1 instead of 1.0 like before. This change also introduces the new proxy type for libcurl called 'CURLPROXY_HTTP_1_0' that then allows apps to switch (back) to CONNECT 1.0 requests. The curl tool also got a --proxy1.0 option that works exactly like --proxy but sets CURLPROXY_HTTP_1_0. I updated all test cases cases that use CONNECT and I tried to do some using --proxy1.0 and some updated to do CONNECT 1.1 to get both versions run.
2009-01-26- Alexey Borzov filed bug report #2535504Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=2535504) pointing out that realms with quoted quotation marks in HTTP Digest headers didn't work. I've now added test case 1095 that verifies my fix.
2009-01-21Improved the title and keywordsDan Fandrich
2009-01-21Fixed a couple more locale-dependent toupper conversions, mainly forDan Fandrich
clarity. This does fix one problem that causes ;type=i FTP URLs to fail in the Turkish locale when CURLOPT_PROXY_TRANSFER_MODE is used (test case 561) Added tests 561 and 1092 through 1094 to test various combinations of ;type= and ;mode= URLs that could potentially fail in the Turkish locale.
2009-01-07Always use nocheck="yes" for consistencyDan Fandrich
2008-12-30sync'd address with other tests.Gunter Knauf
2008-12-30trial with an address which has a valid domain part but invalid host to ↵Gunter Knauf
avoid dns redirections.
2008-12-11Mention what makes this test specialDan Fandrich
2008-12-09Added test cases 1089 and 1090 to test --write-out after a redirect toDan Fandrich
test a report that the size didn't work, but these test cases pass.
2008-12-08- Fred Machado posted about a weird FTP problem on the curl-users list and whenDaniel Stenberg
researching it, it turned out he got a 550 response back from a SIZE command and then I fell over the text in RFC3659 that says: The presence of the 550 error response to a SIZE command MUST NOT be taken by the client as an indication that the file cannot be transferred in the current MODE and TYPE. In other words: the change I did on September 30th 2008 and that has been included in the last two releases were a regression and a bad idea. We MUST NOT take a 550 response from SIZE as a hint that the file doesn't exist.
2008-11-25Added tests 1087 and 1088 to test Basic authentication on a redirectDan Fandrich
with and without --location-trusted
2008-11-24Fully clean up after test 608 so that it can be run twice in succession.Dan Fandrich
2008-11-21restored from my messy previous commit mistakeDaniel Stenberg
2008-11-19- I removed the default use of "Pragma: no-cache" from libcurl when a proxy isDaniel Stenberg
used. It has been used since forever but it was never a good idea to use unless explicitly asked for.
2008-11-13Shortened some FTP responses to allow the timeout to be reduced by a secondDan Fandrich
while still causing a timeout during the data phase.
2008-11-12Give the test an extra second to run so it passes on slow machinesDan Fandrich
2008-11-11Added test case 560:Daniel Stenberg
This test was added after the HTTPS-using-multi-interface with OpenSSL regression of 7.19.1 to hopefully prevent this embarassing mistake from appearing again... Unfortunately the bug wasn't triggered by this test, which presumably is because the connect to a local server is too fast/different compared to the real/distant servers we saw the bug happen with.
2008-11-11Added missing <keywords>Daniel Stenberg
2008-11-06Added test 1086 to test a timeout the occurs during an FTP data transfer.Dan Fandrich
2008-10-27test #558 tests internal hash create/destroyYang Tse
test #559 tests internal hash create/add/destroy
2008-10-27Skip test #558 when libcurl is built with hidden symbolsYang Tse
2008-10-26convert test #558 into something more interesting, attemptingYang Tse
now to minimally exercise some internal hash routines.
2008-10-26test #558 verifies loop operation using malloc() and free()Yang Tse
2008-10-23Tweaked a few tests to test proper Turkish locale handlingDan Fandrich
2008-10-21Fixed some problems with SFTP range support to fix test cases 634 through 637.Dan Fandrich
2008-10-16Added missing HTTP proxy and other keywordsDan Fandrich
2008-10-13Don't rely on shell support to run multiple precheck testsDan Fandrich
2008-10-12Ensure the IPv6 stack is operational before running this test (other testsDan Fandrich
use the startup of the IPv6 test server as a substitute check for this).
2008-10-09Added HTTP as a required featureDan Fandrich
2008-10-09Added tests 633 through 637 to test the new file range support for SFTP.Dan Fandrich
All but the first test cause an infinite loop or other failure and so are added to DISABLED.
2008-10-08- Bug #2152270 (http://curl.haxx.se/bug/view.cgi?id=2152270) identified andDaniel Stenberg
fixed a CURLINFO_REDIRECT_URL memory leak and an additional wrong-doing: Any subsequent transfer with a redirect leaks memory, eventually crashing the process potentially. Any subsequent transfer WITHOUT a redirect causes the most recent redirect that DID occur on some previous transfer to still be reported.
2008-10-08Added tests 1082 through 1085 to test symbolic --interface parametersDan Fandrich
2008-10-08Created test cases 1080 and 1081 to reproduce a problem ofDan Fandrich
CURLINFO_REDIRECT_URL leaking memory and returning incorrect results when two URLs are requested. Reported by vmpdemo in bug #2152270
2008-10-08Added const to some pointer variablesDan Fandrich
2008-10-07Changed the handling of read/write errors in Curl_perform() to allow aDan Fandrich
a fresh connection to be made in such cases and the request retransmitted. This should fix test case 160. Added test case 1079 in an attempt to test a similar connection dropping scenario, but as a race condition, it's hard to test reliably.
2008-09-30Added "HTTP proxy" keywordDan Fandrich
2008-09-30- The libcurl FTP code now returns CURLE_REMOTE_FILE_NOT_FOUND error when SIZEDaniel Stenberg
gets a 550 response back for the cases where a download (or NOBODY) is wanted. It still allows a 550 as response if the SIZE is used as part of an upload process (like if resuming an upload is requested and the file isn't there before the upload). I also modified the FTP test server and a few test cases accordingly to match this modified behavior.
2008-09-29Added "HTTP proxy" and "proxytunnel" keywords where applicableDan Fandrich
2008-09-23remove the entire comment now when we no longer set TZDaniel Stenberg
2008-09-23- Introducing Jamie Lokier's function for date to epoch conversion used in theDaniel Stenberg
date parser function. This makes our function less dependent on system- provided functions and instead we do all the magic ourselves. We also no longer depend on the TZ environment variable.
2008-09-22- Made the SOCKS code use the new Curl_read_plain() function to fix the bugDaniel Stenberg
Markus Moeller reported: http://curl.haxx.se/mail/archive-2008-09/0016.html - recv() errors other than those equal to EAGAIN now cause proper CURLE_RECV_ERROR to get returned. This made test case 160 fail so I've now disabled it until we can figure out another way to exercise that logic.
2008-09-22better descriptionDaniel Stenberg
2008-09-15Changed the test data file so it passes an XML syntax checkDan Fandrich
2008-09-06Added HTTP 1.0 downgrade tests with proxiesDan Fandrich
2008-09-05Improved the logic the decides whether to use HTTP 1.1 features or not in aDan Fandrich
request. Detect cases where an upload must be sent chunked and the server supports only HTTP 1.0 and return CURLE_UPLOAD_FAILED.
2008-09-05- Martin Drasar provided the CURLOPT_POSTREDIR patch. It renamesDaniel Stenberg
CURLOPT_POST301 (but adds a define for backwards compatibility for you who don't define CURL_NO_OLDIES). This option allows you to now also change the libcurl behavior for a HTTP response 302 after a POST to not use GET in the subsequent request (when CURLOPT_FOLLOWLOCATION is enabled). I edited the patch somewhat before commit. The curl tool got a matching --post302 option. Test case 1076 was added to verify this.
2008-09-05Stefan Krause's mail to curl-library at 03 Sep 2008 made me add these twoDaniel Stenberg
new date strings to get tested too.