aboutsummaryrefslogtreecommitdiff
path: root/tests/server
AgeCommit message (Collapse)Author
2008-01-22check availability of poll.h header at configuration time, and includeYang Tse
it when sys/poll.h is unavailable
2007-11-15Replace isupper with our uppercase macro versionYang Tse
2007-11-08Fix commentYang Tse
2007-10-26Detect, log and avoid storing a request with a negative size.Yang Tse
2007-10-25Allow test server to handle binary POSTs.Patrick Monnerat
Tests 35, 544 545 added: binary data POSTs.
2007-10-24Fixed the test TFTP server to support the >10000 test number notationDan Fandrich
Added test cases 2002 and 2003 (the latter disabled for now)
2007-10-24Close log/server.input ASAP to avoid lengthy file lock on cygwinPatrick Monnerat
2007-10-09also log error message stringYang Tse
2007-10-09logmsg already appends '\n'Yang Tse
2007-10-04On error, close "log/server.response"Yang Tse
2007-10-03If TCP_NODELAY is not defined we can't disable the Nagle algorithmYang Tse
2007-10-02Disable the Nagle algorithm and send back responses in small chunks in anDaniel Stenberg
attempt to force smaller bits to get read by clients.
2007-09-27Enabled a few more gcc warnings with --enable-debug. Renamed a fewDan Fandrich
variables to avoid shadowing global declarations.
2007-09-17Make the ftp server connect to the address given by curl in the PORT/EPRTDan Fandrich
instead of hard-coding it to 127.0.0.1
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