From 8119379d4fca2d1d339ff517ea7221fbbdfa6925 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sun, 3 May 2009 19:25:17 +0000 Subject: Added and disabled test case 563 which shows KNOWN_BUGS #59. The bug report failed to mention that a proxy must be used to reproduce it. --- tests/data/test563 | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 tests/data/test563 (limited to 'tests/data/test563') diff --git a/tests/data/test563 b/tests/data/test563 new file mode 100644 index 000000000..5d2d7338b --- /dev/null +++ b/tests/data/test563 @@ -0,0 +1,57 @@ + + + +FTP +CURLOPT_PORT +HTTP proxy + + + +# Server-side + + +HTTP/1.1 200 OK swsclose +Date: Thu, 09 Nov 2010 14:49:00 GMT +Server: test-server/fake +Accept-Ranges: bytes +Content-Length: 6 + +hello + + + +# Client-side + + +ftp +http + + +lib562 + + +FTP type=A URL and CURLOPT_PORT set and proxy + + + +ftp_proxy=http://%HOSTIP:%HTTPPORT/ + +# note that we need quotes around the URL below to make sure the shell doesn't +# treat the semicolon as a separator! + +"ftp://%HOSTIP:23456/563;type=A" %FTPPORT + + + + +# Verify data after the test has been "shot" + + +GET ftp://%HOSTIP:%FTPPORT/563;type=A HTTP/1.1 +Host: %HOSTIP:%FTPPORT +Accept: */* +Proxy-Connection: Keep-Alive + + + + -- cgit v1.2.3