aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-08-07 21:39:44 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-08-07 21:39:44 +0000
commitaeb04136f7c2c72f9005546bfff22c4046f93a74 (patch)
treee455fe43aac7cb1b5f31b3f6c8865cfc73762521
parent0b8f57bf06604df61466453b3a7db6d7292a80c7 (diff)
Don't prevent FTPS:// through a http proxy, as we cannot know if it works or
not!
-rw-r--r--lib/url.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/url.c b/lib/url.c
index bb8aa1819..f587b79f1 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2786,12 +2786,6 @@ static CURLcode CreateConnection(struct SessionHandle *data,
!data->set.tunnel_thru_httpproxy) {
/* Unless we have asked to tunnel ftp operations through the proxy, we
switch and use HTTP operations only */
- if(conn->protocol & PROT_FTPS) {
- /* FTPS is a hacked protocol and does not work through your
- ordinary http proxy! */
- failf(data, "ftps does not work through http proxy!");
- return CURLE_UNSUPPORTED_PROTOCOL;
- }
#ifndef CURL_DISABLE_HTTP
conn->curl_do = Curl_http;
conn->curl_done = Curl_http_done;