summaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-09-21 09:15:51 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-09-24 08:07:35 +0200
commit8066906f9be3c2c6e74f84eda83810de326362df (patch)
tree3c6f191d91bacb96f18f8581039ca4c603b6834a /lib/urldata.h
parent675eeb1c941706070381faaad8ee1a5d75cff4a4 (diff)
downloadcurl-bagder/ftp-over-httpsproxy.tar.gz
ftp: separate FTPS from "HTTPS proxy" usebagder/ftp-over-httpsproxy
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. Fixes #5523
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index d0a0625cd..5ee81770e 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -469,6 +469,7 @@ struct ConnectBits {
EPRT doesn't work we disable it for the forthcoming
requests */
BIT(ftp_use_data_ssl); /* Enabled SSL for the data connection */
+ BIT(ftp_use_control_ssl); /* Enabled SSL for the control connection */
#endif
BIT(netrc); /* name+password provided by netrc */
BIT(bound); /* set true if bind() has already been done on this socket/