ftp: separate FTPS from FTP over "HTTPS proxy"

When using HTTPS proxy, SSL is used but not in the view of the FTP
protocol handler itself so separate the connection's use of SSL from the
FTP control connection's sue.

Reported-by: Mingtao Yang
Fixes #5523
Closes #6006
This commit is contained in:
Daniel Stenberg 2020-09-21 09:15:51 +02:00
parent 93653ef9e2
commit 1397a7de6e
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 7 additions and 14 deletions

View file

@ -74,8 +74,6 @@ Proxy-Connection: Keep-Alive
<protocol>
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT P
PWD
EPSV
TYPE I

View file

@ -89,8 +89,6 @@ Proxy-Connection: Keep-Alive
<protocol>
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT P
PWD
EPSV
TYPE I