mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:53:34 +03:00
libssh2: fix transport over 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 Closes #6128
This commit is contained in:
parent
5106f1dc40
commit
9a844625c4
2 changed files with 24 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue