aboutsummaryrefslogtreecommitdiff
path: root/tests/server
AgeCommit message (Collapse)Author
2007-02-16use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handlingYang Tse
2007-02-14compiler warning fixYang Tse
2007-02-14enhance HTTP server request input writing,Yang Tse
retrying upon EINTR errors.
2007-02-02compiler warning fixYang Tse
2007-01-23Ignore XML DOCTYPEs and declarations.Dan Fandrich
2007-01-23Convert (most of) the test data files into genuine XML. A handful stillDan Fandrich
are not, due mainly to the lack of support for XML character entities (e.g. & => & ). This will make it easier to validate test files using tools like xmllint, as well as edit and view them using XML tools.
2007-01-15Leave the TFTPD test server running after a file upload.Dan Fandrich
Flush the protocol log data so it's immediately available to the test harness.
2007-01-04prevent compiler warning since we use base64.h from libcurl which now hasDaniel Stenberg
function(s) using SessionHandle pointers
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-13Tor Arntsen spotted this mistakeDaniel Stenberg
2006-10-27Update copyright year, since the file has been modifiedYang Tse
2006-10-23Avoid trying to compare more than strlen bytes.Yang Tse
2006-10-23Replace is*() macros with our own IS*() ones.Yang Tse
2006-10-18Check for USE_WINSOCK instead of WIN32 where the check was doneYang Tse
to verify winsock API availability.
2006-10-11Remove redundant __CYGWIN__ symbol checkYang Tse
2006-09-13'in6addr_any' must be placed in .c-file. Added 'REAL_WIN32' forGisle Vanem
all Win32 targets except CygWin. Cleanup.
2006-09-12Cygwin preprocessor adjustmentsYang Tse
2006-09-08test 530 is the first ever HTTP pipelining test for libcurlDaniel Stenberg
2006-08-14Replace exit() with return() in main()Yang Tse
2006-08-07Allow again proper compilation outside of the source treeYang Tse
2006-07-29Fix compiler warnings.Yang Tse
2006-07-28Replace send() and recv() with swrite() and sread() macros.Yang Tse
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-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-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-10removed variable declarations shadowing previously declared variablesDaniel Stenberg
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-02-25Fix typo.Gisle Vanem
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-01-09Made the copyright year match the latest modification's year.Daniel Stenberg
2006-01-04modified output to prevent the autobuild system to trap on the 'FAILED' outputDaniel Stenberg
mistaking it for an actual failed test case
2006-01-03Added remake of the arpa/tftp.h file to make the TFTP server build on systemsDaniel Stenberg
without the real header file.
2006-01-03killed trailing whitespaceDaniel Stenberg
2006-01-03Andres Garcia made the TFTP test server build with mingw ("I also had to copyDaniel Stenberg
the 'tftp.h' file from a linux box, since it doesn't come with mingw.")
2006-01-03modified to hush compiler warningsDaniel Stenberg
2006-01-021. sws now supports two new "commands" and 2. if built withDaniel Stenberg
CURL_SWS_FORK_ENABLED defined it forks for each new connection and thus can support any amount of connection clients (used for hiper tests and not for the standard plain curl test suite)
2005-12-19Fixed lcc compiler warnings.Dan Fandrich