aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-02-02 16:19:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-02-02 16:19:23 +0000
commitbdd4294e79eea15cb6f312f7ee7d388ad40a65e3 (patch)
treebfd4285bac21f3c71ad770df722bf87ed0d14c42 /lib/ftp.c
parentdcf92bffd2a22909a44b45bd7490e2575e14f82c (diff)
- Craig A West brought us: libcurl now defaults to do CONNECT with HTTP
version 1.1 instead of 1.0 like before. This change also introduces the new proxy type for libcurl called 'CURLPROXY_HTTP_1_0' that then allows apps to switch (back) to CONNECT 1.0 requests. The curl tool also got a --proxy1.0 option that works exactly like --proxy but sets CURLPROXY_HTTP_1_0. I updated all test cases cases that use CONNECT and I tried to do some using --proxy1.0 and some updated to do CONNECT 1.1 to get both versions run.
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 0723abe7e..3cc259d69 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1894,6 +1894,7 @@ static CURLcode ftp_state_pasv_resp(struct connectdata *conn,
break;
#endif /* CURL_DISABLE_PROXY */
case CURLPROXY_HTTP:
+ case CURLPROXY_HTTP_1_0:
/* do nothing here. handled later. */
break;
default: