diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-01-06 12:56:34 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-01-06 12:56:34 +0000 |
commit | 7138296633aa7ae7942eb3628de42b4dc2a2248b (patch) | |
tree | b52999baf09e5c23673b47c3d29cf9ba7de37bb6 | |
parent | 195e94c0fa5bb9e5f2e6e1bee78e79ce148b98bb (diff) |
make sure we deal with SOCKS5_HOSTNAME as a proxy type as well
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1727,6 +1727,7 @@ static CURLcode ftp_state_pasv_resp(struct connectdata *conn, if(conn->bits.tunnel_proxy || data->set.proxytype == CURLPROXY_SOCKS5 || + data->set.proxytype == CURLPROXY_SOCKS5_HOSTNAME || data->set.proxytype == CURLPROXY_SOCKS4 || data->set.proxytype == CURLPROXY_SOCKS4A) /* proxy tunnel -> use other host info because ip_addr_str is the @@ -1782,6 +1783,7 @@ static CURLcode ftp_state_pasv_resp(struct connectdata *conn, conn->ip_addr_str); if(conn->bits.tunnel_proxy || data->set.proxytype == CURLPROXY_SOCKS5 || + data->set.proxytype == CURLPROXY_SOCKS5_HOSTNAME || data->set.proxytype == CURLPROXY_SOCKS4 || data->set.proxytype == CURLPROXY_SOCKS4A) /* proxy tunnel -> use other host info because ip_addr_str is the |