aboutsummaryrefslogtreecommitdiff
path: root/tests/server/util.c
AgeCommit message (Collapse)Author
2012-12-28build: make use of 76 lib/*.h renamed filesYang Tse
76 private header files renamed to use our standard naming scheme. This change affects 322 files in libcurl's source tree.
2012-12-14setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>Yang Tse
Inclusion of top two most included header files now done in setup_once.h
2012-04-10test servers: build adjustmentYang Tse
Undefine CURL_HIDDEN_SYMBOLS libcurl private preprocessor macro that might leak from lib/setup.h into source files where this should not be defined.
2012-01-03test proxy supports CONNECTDaniel Stenberg
There's a new 'http-proxy' server for tests that runs on a separate port and lets clients do HTTP CONNECT to other ports on the same host to allow us to test HTTP "tunneling" properly. Test cases now have a <proxy> section in <verify> to check that the proxy protocol part matches correctly. Test case 80, 83, 95, 275, 503 and 1078 have been converted. Test 1316 was added.
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-02-25Fixed bug report #2958074 indicatingYang Tse
(http://curl.haxx.se/bug/view.cgi?id=2958074) that curl on Windows with option --trace-time did not use local time when timestamping trace lines. This could also happen on other systems depending on time souurce.
2010-02-02avoid possibility of using obsoleted stuffYang Tse
2009-12-16Test harness process control enhancementsYang Tse
2009-12-09signal handling to cleanup on SIGINT and SIGTERM, followupYang Tse
2009-11-26Only attempt to clear the server-logs lock when previously set by this same ↵Yang Tse
server.
2008-10-01Fixed some compiler warnings with gccDan Fandrich
2008-09-26fix potential buffer overflow in test-server logging functionYang Tse
2008-09-18fix compiler warning: external declaration in primary source fileYang 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-02-28avoid inclusion of setup.h in util.hYang Tse
2008-02-28header inclusion cleanupYang Tse
2008-02-26trial to fix the HP-UX breakage...Gunter Knauf
2008-02-26refactor some code out to write_pidfile() in util.cYang Tse
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-01-22check availability of poll.h header at configuration time, and includeYang Tse
it when sys/poll.h is unavailable
2007-07-12added time loop to sockfilt.c in order to wait for SO_REUSEADDR;Gunter Knauf
added go_sleep() to util.c.
2007-02-19add debug messages for initialization failuresYang Tse
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
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-05-24make sure we pass a time_t * to localtime(), and the timeval struct membersDaniel Stenberg
are not always time_t ones
2005-09-15moved test2file() to util.cDaniel Stenberg
2005-05-25utilize the whole usec in the log and don't output to stderr if the logfileDaniel Stenberg
can't be opened
2005-05-17Moved more generic functions to util.[ch]Daniel Stenberg
Added resolve.c to simply resolve a given host name
2005-05-01always use the libcurl-provided *printf() functionsDaniel Stenberg
2005-04-30logfile name is constDaniel Stenberg
2005-04-30Moved common code to util.[ch] instead of having it duplicated in sws.cDaniel Stenberg
and sockfilt.c. For good-to-have functions for the servers written in C.