diff options
author | Laurie Clark-Michalek <lcm@fb.com> | 2018-03-28 15:42:33 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-04-06 14:30:59 +0200 |
commit | 5f3938bc4a9c41e2ecf05c081f27e7b83f82f073 (patch) | |
tree | d67f6d3c3983bdea47326d555f1fa07c484b20d4 /lib/curl_threads.c | |
parent | 695e96b3d5b9e6ae4832af5f8e99e07de960bf33 (diff) |
FTP: allow PASV on IPv6 connections when a proxy is being used
In the situation of a client connecting to an FTP server using an IPv6
tunnel proxy, the connection info will indicate that the connection is
IPv6. However, because the server behing the proxy is IPv4, it is
permissable to attempt PSV mode. In the case of the FTP server being
IPv4 only, EPSV will always fail, and with the current logic curl will
be unable to connect to the server, as the IPv6 fwdproxy causes curl to
think that EPSV is impossible.
Closes #2432
Diffstat (limited to 'lib/curl_threads.c')
0 files changed, 0 insertions, 0 deletions