aboutsummaryrefslogtreecommitdiff
path: root/tests/server/sockfilt.c
AgeCommit message (Collapse)Author
2009-04-08#ifdef around variables to squelsh warnings.Gisle Vanem
2008-10-01Fixed some compiler warnings with gccDan Fandrich
2008-09-26Avoid the use of the '? :' operator inside the call to ourYang Tse
test-server logging function. It doesn't work on some systems.
2008-09-20fix compiler warning: external definition with no prior declarationYang Tse
2008-09-04fix print formatting string directivesYang Tse
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-28header inclusion cleanupYang Tse
2008-02-27make comment more preciseYang Tse
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-06Use a long int data type to handle getpid() resultYang Tse
2007-10-09logmsg already appends '\n'Yang Tse
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-02-19add debug messages for initialization 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-27Update copyright year, since the file has been modifiedYang 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-12Cygwin preprocessor adjustmentsYang Tse
2006-07-19Abort if unable to write pid file, and close socket when aborting.Yang Tse
2006-07-17Minor cleanupYang Tse
2006-07-14Null terminate string in buffer before feeding it to strtol()Yang Tse
2006-07-13Change to meaningful var names and take care of a compiler warning on IRIX ↵Yang Tse
6.5.22 MIPSPro C 7.3 64bit
2006-07-12Remove var not used.Yang Tse
2006-07-12Log a message if not all data is sent.Yang Tse
2006-07-12sread now returns ssize_tYang Tse
2006-07-12Use platform's native types for recv() and send() arguments.Yang Tse
2005-05-25silense a warningDaniel Stenberg
2005-05-25nicer raw logging and put code into (nicer) functionsDaniel Stenberg
2005-05-17Moved more generic functions to util.[ch]Daniel Stenberg
Added resolve.c to simply resolve a given host name
2005-05-10prevent 64bit warningsDaniel Stenberg
2005-05-07Added an active disconnected state, to make the code clearer.Daniel Stenberg
2005-05-07removed unnecessary logging to ease REAL debugginDaniel Stenberg
2005-05-01always use the libcurl-provided *printf() functionsDaniel Stenberg