aboutsummaryrefslogtreecommitdiff
path: root/tests/ftpserver.pl
AgeCommit message (Collapse)Author
2009-12-21first small steps towards smtpDaniel Stenberg
2009-12-20Improve delay command interruptabilityYang Tse
2009-12-19support IMAP select and LOGOUTDaniel Stenberg
2009-12-17Comment out hi resolution time logging to verify if this is what mightYang Tse
be contributing 90 additional seconds to the total time some autobuilds now need to make a full test-run.
2009-12-17gettimeofday() requires perl version newer than 5.6Yang Tse
2009-12-16Test harness process control enhancementsYang Tse
2009-12-14Prevent perl script dying messages in output, since tearing down the pinpongYang Tse
server in this way, upon sysread failures, is part of the expected behavior.
2009-12-13reapply diff between revisions 1.103 and 1.102Yang Tse
2009-12-12introducing IMAP, POP3 and SMTP support (still lots of polish left to do)Daniel Stenberg
2009-12-03signal handling to cleanup on SIGINT and SIGTERMYang Tse
2009-11-30- In order to better reflect that the returned pid is extracted from theYang Tse
given file, serverpid sub is renamed to pidfromfile. In addition it is enhanced to make sure that it always returns zero unless a numerical positive value is returned. - To better reflect that only process existance is actually checked, checkserver sub is renamed to processexists. In addition it is enhanced making it remove the given pid file when the extracted pid is no longer alive.
2009-11-26Only attempt to clear the server-logs lock when previously set by this same ↵Yang Tse
server.
2009-05-05Revert change committed on Mon May 4 09:30:23 2009 UTC.Yang Tse
The origin of the problem with test case #251 was the --ftp-port not being the CLIENTIP address.
2009-05-04David McCreedy's patch to fix test suite harness to allow test FTP server ↵Yang Tse
and client on different machines, providing FTP client address when running the FTP test server.
2008-12-08- Fred Machado posted about a weird FTP problem on the curl-users list and whenDaniel Stenberg
researching it, it turned out he got a 550 response back from a SIZE command and then I fell over the text in RFC3659 that says: The presence of the 550 error response to a SIZE command MUST NOT be taken by the client as an indication that the file cannot be transferred in the current MODE and TYPE. In other words: the change I did on September 30th 2008 and that has been included in the last two releases were a regression and a bad idea. We MUST NOT take a 550 response from SIZE as a hint that the file doesn't exist.
2008-11-06Make the SLOWDOWN option slow the FTP data connection, not just theDan Fandrich
control connection.
2008-09-30- The libcurl FTP code now returns CURLE_REMOTE_FILE_NOT_FOUND error when SIZEDaniel Stenberg
gets a 550 response back for the cases where a download (or NOBODY) is wanted. It still allows a 550 as response if the SIZE is used as part of an upload process (like if resuming an upload is requested and the file isn't there before the upload). I also modified the FTP test server and a few test cases accordingly to match this modified behavior.
2008-07-11Avoid a potential zombie process when killing an old ftpserverDan Fandrich
2008-04-23improve synchronization between test harness runtests.pl scriptYang Tse
and test harness servers to minimize risk of false test failures. http://curl.haxx.se/mail/lib-2008-04/0392.html
2007-11-23Revert last change since it breaks running the test suiteYang Tse
when builddir is different from srcdir.
2007-11-23Improve chance of running runtests.pl from outside theYang Tse
source tree 'tests' directory
2007-10-27Made the magic testnumber > 10000 support actually workDan Fandrich
2007-10-24Fixed the test FTP server to support the >10000 test number notationDan Fandrich
2007-09-20Added variable substitution to the <verify><file> section.Dan Fandrich
Made a few more tests work remotely.
2007-09-17Allow setting the IP address on which to listen for connections.Dan Fandrich
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-23Allow ftp server alternate replies to contain backslash-escaped controlDan Fandrich
characters.
2007-08-23Need even more time to wait for an accept.Dan Fandrich
2007-08-20Increase timeout for accept for improved reliability on loaded servers.Dan Fandrich
2007-07-23Log the "<CMD> wasn't handled" error normally since it is now expectedDan Fandrich
to occur in a couple of tests.
2007-07-21To allow more flexibility in FTP test cases, I've removed the enforced statesDaniel Stenberg
from the test server code as they served no real purpose. The test server is here to serve for the test cases, not to attempt to function as a real server!
2007-04-24Clear out FTP server options before each new client.Dan Fandrich
Wait for child processes to die to avoid creating zombies.
2007-04-20Changed an error message slightly so it can be caught easier by theDan Fandrich
autobuild logs scanner.
2007-03-01Reduce the posibility of leaving the sockfilter hanging around whenYang Tse
tearing down the test ftp server due to a read error condition.
2006-11-20Revert ftpserver.pl back to revision 1.74 Adding change done in 1.76Yang Tse
This is done to back out changes done in revisions 1.77 and 1.75
2006-11-20Add some message loggingYang Tse
2006-11-19log the sleep, like when done in test 190Daniel Stenberg
2006-11-17The hash of running servers is now a hash of hashes which for each runningYang Tse
server holds not only its two main pids, but also the pidfile of the test server and the 'slavepidfiles' for ftp* servers. This allows a better control when stopping servers. Now from runtests.pl when test servers are stopped they are signalled in sequence TERM, INT and KILL allowing time in between for them to die. This will give us a chance of gracefully stopping test servers, which we didn't have when we were killing them in first instance.
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