aboutsummaryrefslogtreecommitdiff
path: root/tests/ftpserver.pl
AgeCommit message (Collapse)Author
2006-10-08Fix a "sockfilt" leak. When a new 'data' connection sockfilt server is started,Daniel Stenberg
make sure that a previously used one is killed first (since they re-use the same .pid file etc)
2006-09-24allow user in passwd state for test 280 to work (--ftp-alternative-to-user)Daniel Stenberg
2006-08-23Use /usr/bin/env to invoke perl like the other test scripts.Dan Fandrich
2005-09-04Added FTP_SKIP_PASV_IP and --ftp-skip-pasv-ipDaniel Stenberg
2005-05-25no more time/re-start of sockfilt, no more redirect of stdin/stdout whenDaniel Stenberg
talking to sockfilt
2005-05-24don't restart sockfilt after only 5 seconds of inactivityDaniel Stenberg
2005-05-04removed lots of (now) redundant loggingDaniel Stenberg
2005-05-04modify a value we are allowed toDaniel Stenberg
2005-05-04improved logging (all FTP protocol data, both ways) to possibly help us realizeDaniel Stenberg
why sometimes the control connection dies after a RETR has been sent
2005-05-03add more info to the log to ease debuggingDaniel Stenberg
2005-05-02another <case> converted to sysreadDaniel Stenberg
2005-05-02read from the open2 filehandle with sysread, not <handle>Daniel Stenberg
2005-05-02Fixed the FTP server read stuff when waiting for a connect after a PASV/EPSV.Daniel Stenberg
Made the ftp server use the passed in pidfile name, and made runtests.pl pass it in properly.
2005-05-02fix the server for the slow response caseDaniel Stenberg
2005-05-02Make sure there's no pidfile if we cannot start the initial sockfilt tool -Daniel Stenberg
this happens for some ipv6-enabled hosts on which sockfilt cannot listen on ipv6.
2005-04-28basic signal handler for sigint and sigkillDaniel Stenberg
2005-04-28kill slave processes when they failDaniel Stenberg
2005-04-18allow some more timeDaniel 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.
2005-04-14make the ftp server support reply/servercmd, and make SLOWDOWN work, andDaniel Stenberg
update the docs accordingly
2005-03-31copyright this yearDaniel Stenberg
2005-03-29Made the server send data to the control/data connections using two dedicatedDaniel Stenberg
functions. This enabled me to add a function that automatically delays between each byte, to proper test curl's ability to read FTP server responses sent in many (small) chunks. See also upcoming libcurl fixes...
2005-01-26Make the server ignore the given PORT address, to make it possible to testDaniel Stenberg
curl's -P option easier.
2005-01-25A minor "syntax error" in numerous test files correctedDaniel Stenberg
2005-01-20Support file names passed to RETR that don't start with a number. In thatDaniel Stenberg
case, all non-numeric prefixing letters are cut off to figure out the test number.
2005-01-20add support for NOOPDaniel Stenberg
2005-01-17support the new --id command line option, that allows a second (or third orDaniel Stenberg
whatever) instance to run without overwriting the previous' logfiles
2004-10-27log client disconnectsDaniel Stenberg
2004-08-23Provide support for "transferring" zero bytes FTP files and comparing thatDaniel Stenberg
the output file actually is zero bytes after the transfer.
2004-06-17new daring features, not used by any current testDaniel Stenberg
2004-06-15skip the pid from the loggingDaniel Stenberg
2004-05-17When waiting for the second connect, we now use alarm to timeout the waiting.Daniel Stenberg
This is necessary in case the client never connects or somehow fails to do it timely. The timeout used now is only 2 seconds, which might cause problems on really slow hosts but longer times are painful when doing torture testing on FTP test cases. I'm not sure how this 'alarm' functionality works on Windows or other systems that don't actually have the alarm() function.
2004-04-19changed the logging to work when the logfile is removed during testingDaniel Stenberg
2004-04-15change the log format to look similar to swsDaniel Stenberg
added various logging info
2004-03-01Report the correct size when 'verifiedserver' is requested.Daniel Stenberg
2004-02-26added the ever-present source headerDaniel Stenberg
2004-02-26runtests.pl now provides the srcdir to the ftpserver so that it can passDaniel Stenberg
that to loadtest properly.
2004-01-16removed unused stuffDaniel Stenberg
2003-08-08Support COUNT in the control file, to set the number of times the customDaniel Stenberg
REPLY is to be sent back before getting blanked and reverted to the built-in action. Now, we can make CWD fail once and then succeed when retried.
2003-04-09oops, committed test code not meant to be hereDaniel Stenberg
2003-04-09MDTM support addedDaniel Stenberg
2003-04-03Modified how we log data to server.input, as we can't keep the file openDaniel Stenberg
very much as it makes it troublesome on certain operating systems.
2003-04-01log when we've returned verification that we are the test serverDaniel Stenberg
2003-04-01Added support for the RNFR/RNTO commandsDaniel Stenberg
2003-03-15report pid back in the WE ROOLZ messageDaniel Stenberg
2003-02-26support <size>-1</size> to completely disable the SIZE commandDaniel Stenberg
2003-02-26added support for RETRNOSIZE in the control file to tell RETR to notDaniel Stenberg
include size in the 150-reply
2002-12-12bail out on crap received, makes test case 402 *NOT* ruin the test seriesDaniel Stenberg
anymore!
2002-04-04very minor log changeDaniel Stenberg
2001-12-03test case 126 added, this uses RETRWEIRDO that makes the FTP server send twoDaniel Stenberg
responses at once, to excerise the part of curl to make sure it can cache (parts of) responses properly.