aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2008-09-22Fixed test 539 to handle an out of memory condition that shows up nowDan Fandrich
that memdebug.h is included in the test programs.
2008-09-21fix compiler warning: defined but not usedYang Tse
2008-09-21fix compiler warning: external declaration in primary source fileYang Tse
2008-09-21fix compiler warning: defined but not usedYang Tse
2008-09-20fix compiler warning: external definition with no prior declarationYang Tse
2008-09-20include "memdebug.h"Yang Tse
2008-09-18fix compiler warning: external definition with no prior declarationYang Tse
2008-09-18fix compiler warning: external definition with no prior declarationYang Tse
2008-09-18fix compiler warning: external declaration in primary source fileYang Tse
2008-09-15Changed the test data file so it passes an XML syntax checkDan Fandrich
2008-09-08Disable all tests on i686 icc autobuilds to inspect build messagesYang Tse
2008-09-06Added HTTP 1.0 downgrade tests with proxiesDan Fandrich
2008-09-06remove unnecessary typecasting of malloc()Yang Tse
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.
2008-09-04fix print formatting string directivesYang Tse
2008-08-29Added tests 1071 through 1074 to test automatic downgrading from HTTP 1.1Dan Fandrich
to HTTP 1.0 upon receiving a response from the HTTP server. Tests 1072 and 1073 are similar to test 1069 in that they involve the impossible scenario of sending chunked data to a HTTP 1.0 server. All these currently fail and are added to DISABLED. Added test 1075 to test --anyauth with Basic authentication.
2008-08-29test 1070 addedDaniel Stenberg
2008-08-29- When libcurl was doing a HTTP POST and the server would respond withDaniel Stenberg
"Connection: close" and actually close the connection after the response-body, libcurl could still have outstanding data to send and it would not properly notice this and stop sending. This caused weirdness and sad faces. http://curl.haxx.se/bug/view.cgi?id=2080222 Note that there are still reasons to consider libcurl's behavior when getting a >= 400 response code while sending data, as Craig Perras' note "http upload: how to stop on error" specifies: http://curl.haxx.se/mail/archive-2008-08/0138.html
2008-08-28- I'm abandoning the system with the web site mirrors (but keeping downloadDaniel Stenberg
files bing mirrored) and thus I've changed the URL in the cookiejar header to no longer use curlm.haxx.se but instead use the main site curl.haxx.se
2008-08-28Fixed test case 1065 by changing the handling of CURLOPT_UPLOAD to setDan Fandrich
the HTTP method to GET (or HEAD) when given a value of 0.
2008-08-28Added test 1069 to test PUT from stdin without content length. It failsDan Fandrich
in a similar manner to test 1065 so is added to DISABLED.
2008-08-28Added test 1069 to test PUT from stdin without content length. It failsDan Fandrich
in a similar manner to test 1065 so is added to DISABLED.
2008-08-28Added test case 1068 to do a simple HTTP PUT from stdinDan Fandrich
2008-08-26Added multi keywordDan Fandrich
2008-08-26Added multi keywordDan Fandrich
2008-08-24Re-enable all tests on x86_64 and ia64.Yang Tse
2008-08-24Fix wrong signed int formatting string directive in test case #557.Yang Tse
This error did not cause test failures on systems where sizeof(int) == sizeof(long).
2008-08-24Disable all tests except #557 on x86_64 and ia64 to debug trace ↵Yang Tse
curl_mprintf() on these systems.
2008-08-23added test case 1067 to verify --referer "firstone.html;auto"Daniel Stenberg
2008-08-23Andy Tsouladze's fix to kill the knowledge of servers properly after they haveDaniel Stenberg
been killed.
2008-08-22Fixed a problem when --dump-header - was given with more than one URL,Dan Fandrich
which caused an error when the second header was dumped due to stdout being closed. Added test case 1066 to verify. Also fixed a potential problem where a closed file descriptor might be used for an upload when more than one URL is given.
2008-08-22Increase to 20 the number of CVS update retries.Yang Tse
2008-08-21Test case 557 now also verifies signed and unsigned int formatting.Yang Tse
2008-08-20Simplify condition checkYang Tse
2008-08-18Update test case 557Yang Tse
2008-08-18Added test case 557 to verify libcurl's internal curl_m*printf() functionsYang Tse
formatting functionality when handling signed and unsigned longs, as well as our curl_off_t data type.
2008-08-17libcurl internal base64.h header file renamed to curl_base64.hYang Tse
2008-08-15Added test case 1065 to test a PUT with a single file but two URLs. ThisDan Fandrich
was discovered to be problematic while investigating an incident reported by Von back in May. curl in this case doesn't include a Content-Length: or Transfer-Encoding: chunked header which is illegal. This test case is added to DISABLED until a solution is found.
2008-08-14Added Range keywordDan Fandrich
2008-08-14Added test 1063 to test an invalid large range on a file:Dan Fandrich
2008-08-12Fixed a buffer overflow problem in Curl_proxyCONNECT that could occurDan Fandrich
when a server responded with long headers and data. Luckily, the buffer overflowed into another unused buffer, so no actual harm was done. Added test cases 1060 and 1061 to verify.
2008-08-12Handle short readsDan Fandrich
2008-08-12- Andy Tsouladze fixed runtests.pl to not attempt to execute the stunnelDaniel Stenberg
_directory_ if that happened to appear in the path!
2008-08-11Added HTTP CONNECT keywordsDan Fandrich
2008-08-11Fixed a boundary condition error in ftp_readresp() whereby a non-terminalDan Fandrich
line of a multiline FTP response whose last byte landed exactly at the end of the BUFSIZE-length buffer would be treated as the terminal response line. The following response code read in would then actually be the end of the previous response line, and all responses from then on would correspond to the wrong command. Test case 1062 verifies this. Stop closing a never-opened ftp socket.
2008-08-11Die when curlbuild.h is not created or availableYang Tse
2008-08-10Fix NetWare curlbuild.hYang Tse
NetWare curlbuild.h settings depend on whether LIBC or CLIB is used. The NetWare specific Makefile is capable of knowing which target is being built. So, finally, the NetWare Makefile will take care of generating curlbuild.h
2008-08-09When running testcurl.pl display definitions from curlbuild.hYang Tse