From 14424f7058cd6c2a5aa31dc179db3d4b7bc564a0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 18 Apr 2005 06:57:44 +0000 Subject: Modified the FTP server to use the new 'sockfilt' program to do all the socket 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. --- tests/data/test103 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/data/test103') diff --git a/tests/data/test103 b/tests/data/test103 index 87a640d20..b7ae60baf 100644 --- a/tests/data/test103 +++ b/tests/data/test103 @@ -26,8 +26,8 @@ ftp://%HOSTIP:%FTPPORT/a/path/103 -P - # Verify data after the test has been "shot" -s/^LPRT.*[\n]// -s/^EPRT.*[\n]// +s/^LPRT.*/LPRT/ +s/^EPRT.*/EPRT/ s/^(PORT 127,0,0,1,)([0-9,]+)/$1/ @@ -36,6 +36,8 @@ PASS curl_by_daniel@haxx.se PWD CWD a CWD path +EPRT +LPRT PORT 127,0,0,1, TYPE I SIZE 103 -- cgit v1.2.3