aboutsummaryrefslogtreecommitdiff
path: root/tests/data
AgeCommit message (Collapse)Author
2006-11-25added the new test 282Daniel Stenberg
2006-11-25Venkat Akella found out that libcurl did not like HTTP responses that simplyDaniel Stenberg
responded with a single status line and no headers nor body. Starting now, a HTTP response on a persistent connection (i.e not set to be closed after the response has been taken care of) must have Content-Length or chunked encoding set, or libcurl will simply assume that there is no body. To my horror I learned that we had no less than 57(!) test cases that did bad HTTP responses like this, and even the test http server (sws) responded badly when queried by the test system if it is the test system. So although the actual fix for the problem was tiny, going through all the newly failing test cases got really painful and boring.
2006-11-02Update protocol verification end of linesYang Tse
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-21Armel Asselin separated CA cert verification problems from problems withDaniel Stenberg
reading the (local) CA cert file to let users easier pinpoint the actual problem. CURLE_SSL_CACERT_BADFILE (77) is the new libcurl error code.
2006-10-09Added test case 536 in an attempt to add Bogdan Nicula's problematic caseDaniel Stenberg
with multi interface and pipelining. This test just works and did not repeat the problem his test code showed, but could still serve as a useful test.
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-08modified lib533 to accept both URLs on the command lineDaniel Stenberg
2006-10-06Bogdan Nicula's hanging test case was converted to test case 533 and the testDaniel Stenberg
now runs fine.
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
2006-09-28Reported in #1561470 (http://curl.haxx.se/bug/view.cgi?id=1561470), libcurlDaniel Stenberg
would crash if a bad function sequence was used when shutting down after using the multi interface (i.e using easy_cleanup after multi_cleanup) so precautions have been added to make sure it doesn't any more - test case 529 was added to verify.
2006-09-27As reported in bug: #1566077 the former URL mentioned in the generated cookieDaniel Stenberg
jar has died and we now instead point out our own version of that
2006-09-23added simple test of --ftp-alternative-to-userDaniel Stenberg
2006-09-21Added test case 531 in an attempt to repeat bug report #1561470Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1561470) that is said to crash when an FTP upload fails with the multi interface. It did not, but I made a failed upload still assume the control connection to be fine.
2006-09-20Armel Asselin fixed problems when you gave a proxy URL with user name andDaniel Stenberg
empty password or no password at all. Test case 278 and 279 were added to verify.
2006-09-13added CVS id and clarified the comment linesDaniel Stenberg
2006-09-13Added a generic way to disable test cases when "all" is run, and added theDaniel Stenberg
FTP 3rd party transfers to that file for now until I have them sorted out.
2006-09-08test 530 is the first ever HTTP pipelining test for libcurlDaniel Stenberg
2006-09-07Major overhaul introducing http pipelining support and shared connectionDaniel Stenberg
cache within the multi handle.
2006-08-31added missing testDaniel Stenberg
2006-08-19Based on a patch by Armel Asselin, the FTP code no longer re-issues the TYPEDaniel Stenberg
command on subsequent requests on a re-used connection unless it has to.
2006-08-18Andrew Biggs pointed out a "Expect: 100-continue" flaw where libcurl didn'tDaniel Stenberg
send the whole request at once, even though the Expect: header was disabled by the application. An effect of this change is also that small (< 1024 bytes) POSTs are now always sent without Expect: header since we deem it more costly to bother about that than the risk that we send the data in vain.
2006-07-27test case 277 - HTTP RFC1867-type formposting with custom Content-TypeDaniel Stenberg
2006-07-17tests/libtest/lib506.c version 1.11 is now also logging CURLSHOPT_LOCKFUNC, ↵Yang Tse
CURLSHOPT_UNLOCKFUNC and CURLSHOPT_USERDATA, so we now also have to check them here.
2006-07-08Ates Goral pointed out that libcurl's cookie parser did case insensitiveDaniel Stenberg
string comparisons on the path which is incorrect and provided a patch that fixes this. I edited test case 8 to include details that test for this.
2006-06-07NTLM2 session response supportDaniel Stenberg
2006-05-24based on Tor Arntsen's fix, this should correct test case 271 to again runDaniel Stenberg
fine
2006-05-111 - allow much longer time for the test FTP server to startup and get verifiedDaniel Stenberg
2 - store the time it took to verify it and allow that time to be used as %FTPTIME[23] in command lines to allow us to adjust better to slow hosts since test 190 failed on my slow solaris machine just because it hadn't gotten time to run all the way the test assumed all machines would reach before the time-out elapsed.
2006-04-26David McCreedy brought line end conversions when doing FTP ASCIIDaniel Stenberg
transfers. They are done on non-windows systems and translate CRLF to LF.
2006-04-10Use correct content-length. Found out by patching the libcurl read to onlyDaniel Stenberg
read one byte at a time...
2006-04-05cut off a bit more of the type-2 ntlm message since it differs betweenDaniel Stenberg
hosts
2006-04-05Michele Bini modified the NTLM code to work for his "weird IIS case"Daniel Stenberg
(http://curl.haxx.se/mail/lib-2006-02/0154.html) by adding the NTLM hash function in addition to the LM one and making some other adjustments in the order the different parts of the data block are sent in the Type-2 reply. Inspiration for this work was taken from the Firefox NTLM implementation. I edited the existing 21(!) NTLM test cases to run fine with these news. Due to the fact that we now properly include the host name in the Type-2 message the test cases now only compare parts of that chunk.
2006-03-28#1451929 (http://curl.haxx.se/bug/view.cgi?id=1451929) detailed a bug thatDaniel Stenberg
occurred when asking libcurl to follow HTTP redirects and the original URL had more than one question mark (?). Added test case 276 to verify.
2006-03-03added test524Daniel Stenberg
2006-03-03Prevent uploading to a URL that has no file name part.Daniel Stenberg
2006-02-22Fixed test case 57 (KNOWN_BUG #18)Dan Fandrich
2006-02-06how silly, the cookie expired! ;-)Daniel Stenberg
2006-01-24Michal Marek provided a patch for FTP that makes libcurl continue to try PASVDaniel Stenberg
even after EPSV returned a positive response code, if libcurl failed to connect to the port number the EPSV response said. Obviously some people are going through protocol-sensitive firewalls (or similar) that don't understand EPSV and then they don't allow the second connection unless PASV was used. This also called for a minor fix of test case 238.
2006-01-19Duane Cathey was one of our friends who reported that curl -P [IP]Daniel Stenberg
(CURLOPT_FTPPORT) didn't work for ipv6-enabed curls if the IP wasn't a "native" IP while it works fine for ipv6-disabled builds! In the process of fixing this, I removed the support for LPRT since I can't think of many reasons to keep doing it and asking on the mailing list didn't reveal anyone else that could either. The code that sends EPRT and PORT is now also a lot simpler than before (IMHO).
2005-11-10modified to the new error text for range errorDaniel Stenberg
2005-10-30test 275 makes a CONNECT through a proxy and then gets two pages from theDaniel Stenberg
same server
2005-10-27Nis Jorgensen filed bug report #1338648Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1338648) which really is more of a feature request, but anyway. It pointed out that --max-redirs did not allow it to be set to 0, which then would return an error code on the first Location: found. Based on Nis' patch, now libcurl supports CURLOPT_MAXREDIRS set to 0, or -1 for infinity. Added test case 274 to verify.
2005-10-20Dave Dribin made libcurl understand and handle cases when the serverDaniel Stenberg
(wrongly) sends *two* WWW-Authenticate headers for Digest. While this should never happen in a sane world, libcurl previously got into an infinite loop when this occurred. Dave added test 273 to verify this.
2005-10-05added test case 272 for -z download over FTP when the timestamp is identicalDaniel Stenberg
to the remote one
2005-09-19added test 271Daniel Stenberg
2005-09-19test 271, the first ever TFTP testDaniel Stenberg
2005-09-04Added FTP_SKIP_PASV_IP and --ftp-skip-pasv-ipDaniel Stenberg