aboutsummaryrefslogtreecommitdiff
path: root/tests/server/sockfilt.c
AgeCommit message (Collapse)Author
2012-12-25socklift.c: Added select_ws function to support WindowsMarc Hoersken
WinSock select() does not support standard file descriptors, it can only check SOCKETs. The following function is an attempt to create a select() function with support for other handles.
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.
2011-10-31FTP test server: NODATACONN commands commit c761fcb0 follow-upYang Tse
Adjustments that make NODATACONN custom commands fully usable.
2011-10-30FTP test server: fix server unresponsivenessYang Tse
Some torture tests left FTP test server in an unresponsive state, resulting in torture tests that actually completed following unexpected code paths. Changes in this commit solely address this issue and some adjustments for ftpserver.pl logging relative to data channel establishment and tear down. Pending NODATACONN relative adjustments reserved for a further commit.
2010-11-19test servers: fix strict aliasing compiler warningsYang Tse
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-02-22convert Curl_ultous() and Curl_ultouc() functions to curlx_ultous() andYang Tse
curlx_ultouc(), exposing them through curlx.h to allow proper code reuse later in our test harness.
2010-02-19fix compiler warningYang Tse
2010-02-18fix compiler warningYang Tse
2010-02-04Validate server port argumentYang Tse
2010-02-02avoid possibility of using obsoleted stuffYang Tse
2010-01-10Update error message to include port numberYang Tse
2009-10-10Fix compiler warning: loop without bodyYang Tse
2009-06-12fix compiler warningYang Tse
2009-05-18Remove temporary debug tracing, and add nasty error explanationYang Tse
2009-05-14Add some debug tracingYang Tse
2009-05-14Fix detection of automatically choosen listener port number on IPv6 enabled ↵Yang Tse
builds.
2009-05-13log each setsockopt/SO_REUSEADDR failureYang Tse
2009-05-13fix print formatting-string directivesYang Tse
2009-05-02Use build-time configured curl_socklen_t instead of socklen_tYang Tse
2009-04-27Include <arpa/inet.h> if HAVE_ARPA_INET_H is definedYang Tse
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