aboutsummaryrefslogtreecommitdiff
path: root/tests/data
AgeCommit message (Collapse)Author
2010-01-12Added test case #1112 which does an FTPS download with strict timeoutYang Tse
and slow data transfer in a similar way as test case #1086 does for FTP. This also exercises <killserver> section for the FTPS server.
2010-01-11- The tests/runtests.pl script now checks to see if the test case that runs isDaniel Stenberg
present in the tests/data/Makefile.am and outputs a notice message on the screen if not. Each test file has to be included in that Makefile.am to get included in release archives and forgetting to add files there is a common mistake. This is an attempt to make it harder to forget.
2010-01-07List fragment tests in Makefile.am and better provide better namesClaes Jakobsson
2010-01-06Disable tests 802 and 803Yang Tse
2010-01-06Julien Chaffraix fixed so that the fragment part in an URL is not sent to ↵Claes Jakobsson
the server anymore
2010-01-01- Ingmar Runge enhanced libcurl's FTP engine to support the PRET command. ThisDaniel Stenberg
command is a special "hack" used by the drftpd server, but even though it is a custom extension I've deemed it fine to add to libcurl since this server seems to survive and people keep using it and want libcurl to support it. The new libcurl option is named CURLOPT_FTP_USE_PRET, and it is also usable from the curl tool with --ftp-pret. Using this option on a server that doesn't support this command will make libcurl fail.
2009-12-30modified to get the EHLO domain from the path part of the URL instead of theDaniel Stenberg
user name
2009-12-30(SMTP) support DATA better in the server and make sure to "escape" CRLF.CRLFDaniel Stenberg
sequences in uploaded data. The test server doesn't "decode" escaped dot-lines but instead test cases must be written to take them into account. Added test case 803 to verify dot-escaping.
2009-12-29test 802 is the first SMTP test, although not strictly SMTP yet...Daniel Stenberg
2009-12-24Adjust test number mismatchYang Tse
2009-12-21test 566 was missingDaniel Stenberg
2009-12-20introducing the first IMAP FETCH testDaniel Stenberg
2009-12-17Remove pointless storing of the protocol as a string within the connectdataDaniel Stenberg
struct, and instead use the already stored string in the handler struct.
2009-12-16Test #1106 needs an ftp enabled clientYang Tse
2009-12-14- Jon Nelson found a regression that turned out to be a flaw in how libcurlDaniel Stenberg
detects and uses proxies based on the environment variables. If the proxy was given as an explicit option it worked, but due to the setup order mistake proxies would not be used fine for a few protocols when picked up from '[protocol]_proxy'. Obviously this broke after 7.19.4. I now also added test case 1106 that verifies this functionality. (http://curl.haxx.se/bug/view.cgi?id=2913886)
2009-12-12introducing IMAP, POP3 and SMTP support (still lots of polish left to do)Daniel Stenberg
2009-12-10- Siegfried Gyuricsko found out that the curl manual said --retry would retryDaniel Stenberg
on FTP errors in the transient 5xx range. Transient FTP errors are in the 4xx range. The code itself only tried on 5xx errors that occured _at login_. Now the retry code retries on all FTP transfer failures that ended with a 4xx response. (http://curl.haxx.se/bug/view.cgi?id=2911279)
2009-12-07- Martin Storsjo made libcurl use the Expect: 100-continue header for postsDaniel Stenberg
with unknown size. Previously it was only used for posts with a known size larger than 1024 bytes.
2009-10-30Added test case 566 in an attempt to repeat bug 2884561Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=2884561) but it seems to work for me...
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.