aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-01-06 21:41:38 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-01-06 21:41:38 +0000
commitf111c9edae27e430ae63a3c03c99282dce81c8da (patch)
treeaf3a09d1db2e88366c3667e32c5949f27f557ce6
parent7138296633aa7ae7942eb3628de42b4dc2a2248b (diff)
more SOCKS5_HOSTNAME adjustments from Richard Atterer
-rw-r--r--lib/ftp.c1
-rw-r--r--lib/url.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 9507c6f48..29cbcb0f8 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1882,6 +1882,7 @@ static CURLcode ftp_state_pasv_resp(struct connectdata *conn,
switch(data->set.proxytype) {
case CURLPROXY_SOCKS5:
+ case CURLPROXY_SOCKS5_HOSTNAME:
result = Curl_SOCKS5(conn->proxyuser, conn->proxypasswd, newhost, newport,
SECONDARYSOCKET, conn);
break;
diff --git a/lib/url.c b/lib/url.c
index 8e2405373..25d40b922 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -1868,7 +1868,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
case CURLOPT_PROXYTYPE:
/*
- * Set proxy type. HTTP/SOCKS4/SOCKS4a/SOCKS5
+ * Set proxy type. HTTP/SOCKS4/SOCKS4a/SOCKS5/SOCKS5_HOSTNAME
*/
data->set.proxytype = (curl_proxytype)va_arg(param, long);
break;