summaryrefslogtreecommitdiff
path: root/lib/vssh/ssh.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-10-26 11:10:49 +0100
committerDaniel Stenberg <daniel@haxx.se>2020-10-26 22:59:51 +0100
commit753313206098d4abf63d61314c2e56c49ddc8cf3 (patch)
treeced003ccd599f89f772bc7065209dfdbc36ed192 /lib/vssh/ssh.h
parent9f4c1c0ccee552401de750737e81f5572b36acca (diff)
downloadcurl-bagder/ssh-https-proxy.tar.gz
libssh2: fix transport over HTTPS proxybagder/ssh-https-proxy
The fix in #6021 was not enough. This fix makes sure SCP/SFTP content can also be transfered over a HTTPS proxy. Fixes #6113
Diffstat (limited to 'lib/vssh/ssh.h')
-rw-r--r--lib/vssh/ssh.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/vssh/ssh.h b/lib/vssh/ssh.h
index 9e49993e9..bae81d654 100644
--- a/lib/vssh/ssh.h
+++ b/lib/vssh/ssh.h
@@ -182,6 +182,12 @@ struct ssh_conn {
LIBSSH2_SFTP *sftp_session; /* SFTP handle */
LIBSSH2_SFTP_HANDLE *sftp_handle;
+#ifndef CURL_DISABLE_PROXY
+ /* for HTTPS proxy storage */
+ Curl_recv *tls_recv;
+ Curl_send *tls_send;
+#endif
+
#ifdef HAVE_LIBSSH2_AGENT_API
LIBSSH2_AGENT *ssh_agent; /* proxy to ssh-agent/pageant */
struct libssh2_agent_publickey *sshagent_identity,