FTP code turned into state machine. Not completely yet, but a good start.

The tag 'before_ftp_statemachine' was set just before this commit in case
of future need.
This commit is contained in:
Daniel Stenberg
2005-02-09 13:06:40 +00:00
parent 120f17ce04
commit 6a2e21ec8c
34 changed files with 2970 additions and 1755 deletions

View File

@@ -15,7 +15,7 @@ ftp
FTP download with strict timeout and slow CWD
</name>
<command>
ftp://%HOSTIP:%FTPPORT/path/to/file/126 -m 3
ftp://%HOSTIP:%FTPPORT/path/to/file/190 -m 3
</command>
<file name="log/ftpserver.cmd">
DELAY CWD 15
@@ -24,6 +24,7 @@ DELAY CWD 15
# Verify data after the test has been "shot"
<verify>
# 28 is CURLE_OPERATION_TIMEOUTED
<errorcode>
28
</errorcode>