aboutsummaryrefslogtreecommitdiff
path: root/tests/server/util.c
AgeCommit message (Collapse)Author
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.