diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-09-28 21:26:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-09-28 21:26:06 +0000 |
commit | ae13c93b7db9f9c68eaf95150ed551b3b649d8c4 (patch) | |
tree | 8ace8b70b39ec08504fcacc9dbae2e38522a8f32 /tests/data/test529 | |
parent | b9f8a4a477a74781fddc28ba2fe9d0713de0acf9 (diff) |
Reported in #1561470 (http://curl.haxx.se/bug/view.cgi?id=1561470), libcurl
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.
Diffstat (limited to 'tests/data/test529')
-rw-r--r-- | tests/data/test529 | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/data/test529 b/tests/data/test529 new file mode 100644 index 000000000..d5c657d30 --- /dev/null +++ b/tests/data/test529 @@ -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> |