aboutsummaryrefslogtreecommitdiff
path: root/tests/server
AgeCommit message (Collapse)Author
2008-08-29- When libcurl was doing a HTTP POST and the server would respond withDaniel Stenberg
"Connection: close" and actually close the connection after the response-body, libcurl could still have outstanding data to send and it would not properly notice this and stop sending. This caused weirdness and sad faces. http://curl.haxx.se/bug/view.cgi?id=2080222 Note that there are still reasons to consider libcurl's behavior when getting a >= 400 response code while sending data, as Craig Perras' note "http upload: how to stop on error" specifies: http://curl.haxx.se/mail/archive-2008-08/0138.html
2008-08-17libcurl internal base64.h header file renamed to curl_base64.hYang Tse
2008-08-07Initial support of curlbuild.h and curlrules.h which allowsYang Tse
to have a curl_off_t data type no longer gated to off_t.
2008-07-30Added test case 1051 to test Location: following with PUT, as reportedDan Fandrich
by Ben Sutcliffe. The test when run manually shows a problem in curl, but the test harness web server doesn't run the test correctly so it's disabled for now.
2008-07-30Undo using the sreadfrom() wrapper to replace recvfrom() in our code, for ↵Yang Tse
real ;-)
2008-07-30Undo using the sreadfrom() wrapper to replace recvfrom() in our code.Yang Tse
2008-07-21fix compiler warning: implicit conversion from "long" to "int"Yang Tse
2008-07-21Use the sreadfrom() wrapper to replace recvfrom() in our code.Yang Tse
2008-07-15add comment for include pathsYang Tse
2008-04-23improve synchronization between test harness runtests.pl scriptYang Tse
and test harness servers to minimize risk of false test failures. http://curl.haxx.se/mail/lib-2008-04/0392.html
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