aboutsummaryrefslogtreecommitdiff
path: root/tests/server/sockfilt.c
AgeCommit message (Collapse)Author
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
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.
2005-04-28AF_INET6 for ipv6 addresses!Daniel Stenberg
2005-04-27listen(..., 1) as 0 doesn't work on Tru64!Daniel Stenberg
2005-04-18better fix for the socket -1 caseDaniel Stenberg
2005-04-18safety measure to avoid using -1 as socketDaniel Stenberg
2005-04-18Modified the FTP server to use the new 'sockfilt' program to do all the socketDaniel Stenberg
level stuff. The FTP server communicates with sockfilt using perl's open2(). This enables easier IPv6 support and hopefully FTP-SSL support in the future. Added four test cases for FTP-ipv6.