aboutsummaryrefslogtreecommitdiff
path: root/tests/server
AgeCommit message (Collapse)Author
2007-08-30Fixed a few compiler warnings. Try to do a slightly better job ofDan Fandrich
cleaning up after an OOM condition in curl_multi_add_handle
2007-08-22added a size > buffer size check to make it easier to track this in theDaniel Stenberg
future
2007-08-22Upped the buffer size to 17000+ bytes to prepare for the upcoming test 1003Daniel Stenberg
that verfies ridiculously long server response lines. Also changed sprintf to snprintf in a few places.
2007-07-12start the retry delay at 10 ms, double it for every failed attempt which makesDaniel Stenberg
it 10 seconds delay after 11 attempts
2007-07-12the timeout was probably too short with max = 1 sec, so lets test with 5 sec.Gunter Knauf
2007-07-12added time loop to sockfilt.c in order to wait for SO_REUSEADDR;Gunter Knauf
added go_sleep() to util.c.
2007-04-03update copyright yearYang Tse
2007-02-22Check for stdbool.h at configuration stage, and include it if available.Yang Tse
Check for lowercase 'bool' type at configuration stage. If not available provide a suitable replacement with a type definition of 'unsigned char' in setup_once.h Move definitions of TRUE and FALSE to setup_once.h
2007-02-19Oops missing varYang Tse
2007-02-19add debug messages for initialization failuresYang Tse
2007-02-17Move portable error number symbolic name definitions to setup_once.hYang Tse
2007-02-17getpart implicitly drags in some networking functions, so it needs to beDan Fandrich
linked to the networking libraries.
2007-02-17Better separate the library dependencies into those required by libcurlDan Fandrich
and those required by other components to avoid forcing unneeded dependencies into the target objects.
2007-02-17Remove C99ismsDan Fandrich
2007-02-16add debug messages for fopen() failuresYang Tse
2007-02-16use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handlingYang Tse
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