aboutsummaryrefslogtreecommitdiff
path: root/tests/data
AgeCommit message (Collapse)Author
2009-10-30- "Tom" posted a bug report that mentioned how libcurl did wrong when doing aDaniel Stenberg
POST using a read callback, with Digest authentication and "Transfer-Encoding: chunked" enforced. I would then cause the first request to be wrongly sent and then basically hang until the server closed the connection. I fixed the problem and added test case 565 to verify it.
2009-10-25- Dima Barsky made the curl cookie parser accept cookies even with blank orDaniel Stenberg
unparsable expiry dates and then treat them as session cookies - previously libcurl would reject cookies with a date format it couldn't parse. Research shows that the major browser treat such cookies as session cookies. I modified test 8 and 31 to verify this.
2009-09-26- John P. McCaskey posted a bug report that showed how libcurl did wrong whenDaniel Stenberg
saving received cookies with no given path, if the path in the request had a query part. That is means a question mark (?) and characters on the right side of that. I wrote test case 1105 and fixed this problem.
2009-09-26added test 1105 (disabled) - it repeats a cookie path bug we need to fixDaniel Stenberg
2009-09-17added three missing files to the dist archiveDaniel Stenberg
2009-09-14Added HTTP proxy keywordDan Fandrich
2009-09-11Renumbered test565 to test1104 to move it out of the range reserved forDan Fandrich
libcurl tests.
2009-09-10- Claes Jakobsson fixed a problem with cookie expiry dates at exctly the epochDaniel Stenberg
start second "Thu Jan 1 00:00:00 GMT 1970" as the date parser then returns 0 which internally then is treated as a session cookie. That particular date is now made to get the value of 1.
2009-08-27disable the tests that differ between 32 and 64 bitDaniel Stenberg
2009-08-24- Introduced a SYST-based test to properly set-up name format when dealing ↵Patrick Monnerat
with the OS/400 FTP server. - Fixed an ftp_readresp() bug preventing detection of failing control socket and causing FTP client to loop forever.
2009-08-18Pull the certificate files from the source directory. Ensure that theDan Fandrich
certificate tests only run on a localhost-hosted test server since the host name is explicitly checked.
2009-08-12Added a range of new fun date strings to try. This set of dates come from aDaniel Stenberg
mail posted to the http-state mailing list, from Adam Barth, and is said to be the set of date formats the Chrome browser code is tested against: http://www.ietf.org/mail-archive/web/http-state/current/msg00129.html libcurl parses most of them identically, but not all of them.
2009-08-12use --insecure to allow non-matching known hosts for SSH-based protocolsDaniel Stenberg
2009-08-11- Peter Sylvester made the HTTPS test server use specific certificates forDaniel Stenberg
each test, so that the test suite can now be used to actually test the verification of cert names etc. This made an error show up in the OpenSSL- specific code where it would attempt to match the CN field even if a subjectAltName exists that doesn't match. This is now fixed and verified in test 311.
2009-07-28use --insecure for the SFTP and SCP testsDaniel Stenberg
2009-06-16- When doing non-anonymous ftp via http proxies and the password is notMichal Marek
provided in the url, add it there (squid needs this).
2009-05-30Added missing NTLM feature for test 1097Dan Fandrich
2009-05-25- bug report #2796358 (http://curl.haxx.se/bug/view.cgi?id=2796358) pointedDaniel Stenberg
out that the cookie parser would leak memory when it parses cookies that are received with domain, path etc set multiple times in the same header. While such a cookie is questionable, they occur in the wild and libcurl no longer leaks memory for them. I added such a header to test case 8.
2009-05-22Added some missing test keywordsDan Fandrich
2009-05-20Added "non-existing host" test keywords to make it easy to skip thoseDan Fandrich
tests on machines that have broken DNS configurations (such as those configured to use OpenDNS).
2009-05-17- James Bursa posted a patch to the mailing list that fixed a problem withDaniel Stenberg
no_proxy which made it not skip the proxy if the URL entered contained a user name. I added test case 1101 to verify.
2009-05-11Adjust test definition for TPF.Yang Tse
2009-05-11Added test 564 as DISABLED. It is for testing FTP over a SOCK4 proxy usingDaniel Stenberg
the multi interface, which currently doesn't work because of how the data connection is not waiting for connect before it tries to do proxy magic.
2009-05-11- I fixed the problem with doing NTLM, POST and then following a 302 redirect,Daniel Stenberg
as reported by Ebenezer Ikonne (on curl-users) and Laurent Rabret (on curl-library). The transfer was mistakenly marked to get more data to send but since it didn't actually have that, it just hung there...
2009-05-10Added test 1100 - "HTTP POST with NTLM authorization and following a 302Daniel Stenberg
redirect" doesn't work, seems to repeat what Ebenezer Ikonne (on curl-users) and Laurent Rabret (on curl-library) have reported. Disabled for now.
2009-05-10made the cookie tests 61 and 62 test httponly cookies, both receiving inDaniel Stenberg
headers and reading from cookie-jar
2009-05-08Changed host name to be under the haxx.se domainYang Tse
2009-05-05Fixed the --ftp-port address to the CLIENTIP address.Yang Tse
2009-05-03Added and disabled test case 563 which shows KNOWN_BUGS #59. The bugDan Fandrich
report failed to mention that a proxy must be used to reproduce it.
2009-04-30- I was going to fix issue #59 in KNOWN_BUGSDaniel Stenberg
If the CURLOPT_PORT option is used on an FTP URL like "ftp://example.com/file;type=A" the ";type=A" is stripped off. I added test case 562 to verify, only to find out that I couldn't repeat this bug so I hereby consider it not a bug anymore!
2009-04-29- Based on bug report #2723219 (http://curl.haxx.se/bug/view.cgi?id=2723219)Daniel Stenberg
I've now made TFTP "connections" not being kept for re-use within libcurl. TFTP is UDP-based so the benefit was really low (if even existing) to begin with so instead of tracking down to fix this problem we instead removed the re-use. I also enabled test case 1099 that I wrote a few days ago to verify that this change fixes the reported problem.
2009-04-24test 1099: "TFTP get first a non-existing file then an existing" added disabledDaniel Stenberg
as things don't work right here!
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.