aboutsummaryrefslogtreecommitdiff
path: root/tests/server
AgeCommit message (Collapse)Author
2008-04-22fix minor memory leak triggered upon test failureYang Tse
2008-04-22Remove fflush() + fsync() previously introduced accelerated writing ofYang Tse
server input and response request files of the test harness sws server. Reintroduce, for test # 1001, the <postcheck> small delay. The delay is needed even with the accelerated writing of server input and response request files in test harness sws server. http://curl.haxx.se/mail/lib-2008-04/0385.html
2008-04-20accelerate the writing of server input and response request filesYang Tse
to disk, trying to defeat file and disk write-behind algorithms
2008-03-05fix log message used when unable to connect to destination portYang Tse
2008-02-28signal handling to properly cleanup on SIGINT and SIGTERMYang Tse
2008-02-28when terminating do it falling through cleanup codeYang Tse
2008-02-28avoid inclusion of setup.h in util.hYang Tse
2008-02-28header inclusion cleanupYang Tse
2008-02-27make comment more preciseYang Tse
2008-02-26trial to fix the HP-UX breakage...Gunter Knauf
2008-02-26all reads from stdin and writes to stdout will be retried until theYang Tse
whole operation completes or an unrecoverable condition is detected
2008-02-26refactor some code out to write_pidfile() in util.cYang Tse
2008-02-22Revert sockfilt.c back to revision 1.42Yang Tse
Changes introduced in revision 1.43 were useless
2008-02-20Avoid timeout restart when signal caught while awaiting socket and stdin eventsYang Tse
2008-02-19juggle() actually returns bool.Yang Tse
Remove redundant and unreachable log message.
2008-02-18Reduce to 20 seconds the time allowed to set SO_REUSEADDR option on sockfilt ↵Yang Tse
listener socket. Log some more error descriptions.
2008-02-17sockfilt will quit when orphanedYang Tse
2008-02-06Don't try to compare more than strlen charsYang Tse
2008-02-06Use a long int data type to handle getpid() resultYang Tse
2008-02-05Fix buffer size specification.Yang Tse
Improve handling of boundary conditions for huge requests.
2008-02-05Minor variable type cleanups.Yang Tse
Disable "swsbounce" mode when the received request isn't for the same test and part number.
2008-02-05proper initialization of httprequest, no longer zeroing out twiceYang Tse
the whole 150000+ bytes struct, and also removing an equally big additional buffer for pipelining treatment.
2008-01-25improve request initialization for test harness HTTP serverYang Tse
2008-01-25Dmitry Kurochkin's test harness HTTP server pipelining fix fot test 530Yang Tse
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.