would crash if a bad function sequence was used when shutting down after
using the multi interface (i.e using easy_cleanup after multi_cleanup) so
precautions have been added to make sure it doesn't any more - test case 529
was added to verify.
This commit is contained in:
Daniel Stenberg
2006-09-28 21:26:06 +00:00
parent b9f8a4a477
commit ae13c93b7d
10 changed files with 138 additions and 35 deletions

55
tests/data/test529 Normal file
View File

@@ -0,0 +1,55 @@
<info>
<keywords>
FTP
PORT
STOR
</keywords>
</info>
# Server-side
<reply>
<data>
</data>
</reply>
# Client-side
<client>
<server>
ftp
</server>
<tool>
lib529
</tool>
<name>
FTP PORT upload using multi interface (weird cleanup function sequence)
</name>
<command>
ftp://%HOSTIP:%FTPPORT/path/529 log/upload529
</command>
<file name="log/upload529">
Moooooooooooo
upload this
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<strip>
^PORT .*
^EPRT .*
^LPRT .*
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
CWD path
PORT 127,0,0,1,5,109
TYPE I
STOR 529
QUIT
</protocol>
<upload>
Moooooooooooo
upload this
</upload>
</verify>