aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2006-07-28Replace send() and recv() with swrite() and sread() macros.Yang Tse
2006-07-27test case 277 - HTTP RFC1867-type formposting with custom Content-TypeDaniel Stenberg
2006-07-19Abort if unable to write pid file, and close socket when aborting.Yang Tse
2006-07-19Abort if unable to write pid file.Yang Tse
2006-07-17-Use curl_socket_t instead of int.Yang Tse
-Log errno in message if setsockopt() fails. -Close listener socket on major errors.
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-17Fix compiler warning "enumerated type mixed with another type"Yang Tse
2006-07-17Minor cleanupYang Tse
2006-07-14Null terminate string in buffer before feeding it to strtol()Yang Tse
2006-07-13Change to meaningful var names and take care of a compiler warning on IRIX ↵Yang Tse
6.5.22 MIPSPro C 7.3 64bit
2006-07-12Remove var not used.Yang Tse
2006-07-12Log a message if not all data is sent.Yang Tse
2006-07-12Fix compiler warning: comparison between signed and unsignedYang Tse
2006-07-12Place parenthesis surrounding macro parameters so that the use of sread and ↵Yang Tse
swrite is more intuitive.
2006-07-12sread now returns ssize_tYang Tse
2006-07-12Pay attention when typecasting an operationYang Tse
2006-07-12sread now returns ssize_tYang Tse
2006-07-12Use platform's native types for recv() and send() arguments.Yang Tse
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-10Fix "'x' might be used uninitialized in this function" warnings.Gisle Vanem
2006-06-09stricter type use to please compilersDaniel Stenberg
2006-06-08lib525.c does a FTP upload with PORT using multi interfaceDaniel Stenberg
2006-06-07NTLM2 session response supportDaniel Stenberg
2006-05-27reverted the previous .libs check for libs, but instead make mingw32 buildsDaniel Stenberg
more similar to other configure builds (== use .la for libext and no binext)
2006-05-25better check for libs created in the .libs directory since libtool does thisDaniel Stenberg
kind of magic
2006-05-24make sure we pass a time_t * to localtime(), and the timeval struct membersDaniel Stenberg
are not always time_t ones
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-05-10My Solaris test server was simply too slow to be able to respond within 4Daniel Stenberg
seconds even when everything is fine! Now we allow a test server 8 seconds to respond to still be considered ok.
2006-05-10removed variable declarations shadowing previously declared variablesDaniel Stenberg
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-10if configure found a fork(), sws supports --fork which is *NOT* used by theDaniel Stenberg
ordinary test suite. Also removed the perror() calls and instead made the logging output the errno code to ease error tracking using logs.
2006-04-10output the exit code from stunnel to stderr in case it is non-zeroDaniel Stenberg
2006-04-10support --fork and pass that on to swsDaniel Stenberg
2006-04-10Scan for 'stunnel4' before 'stunnel' since debian have them setup this wayDaniel Stenberg
and it should break most other systems. The "funny" part is that debian actually have a 'stunnel' setup to simulate stunnel v3 but it breaks our own stunnel-version-detect-and-adjust-to-it system. Added initial support for optionally running servers with fork support.
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-03If run on a curl built shared, detect this and invoke libtool for gdbDaniel Stenberg
accordingly.
2006-03-03added test524Daniel Stenberg
2006-03-03Prevent uploading to a URL that has no file name part.Daniel Stenberg
2006-02-25Fix typo.Gisle Vanem
2006-02-22Fixed test case 57 (KNOWN_BUG #18)Dan Fandrich
2006-02-18Ulf Härnhammar fixed a format string (printf style) problem in the NegotiateDaniel Stenberg
code. It should however not be the cause of any troubles. He also fixed a few similar problems in the HTTP test server code.
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).
2006-01-16David Shaw finally removed all traces of Gopher and we are now officiallyDaniel Stenberg
not supporting it. It hasn't been functioning for years anyway, so this is just finally stating what already was true. And a cleanup at the same time.
2006-01-13Andrew Benham fixed a race condition in the test suite that could cause theDaniel Stenberg
test script to kill all processes in the current process group!