Skip to content

SFTP download over HTTPS proxy stalls #6113

Closed
@bagder

Description

@bagder
Member

I did this

Download an SFTP file over an HTTPS proxy. It seems to stall:

curl -x https://127.0.0.1:8843 sftp://127.0.0.1/17M -o /dev/null --proxy-insecure -kv

I expected the following

Downloading a directory from the same server and proxy setup seems to work!

curl/libcurl version

Current git master.

curl 7.73.1-DEV (x86_64-pc-linux-gnu) libcurl/7.73.1-DEV OpenSSL/1.1.1h zlib/1.2.11 brotli/1.0.9 zstd/1.4.5 c-ares/1.16.1 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0_DEV nghttp2/1.41.0-DEV librtmp/2.3
Release-Date: [unreleased]
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: alt-svc AsynchDNS brotli Debug GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz Metalink NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP TrackMemory UnixSockets zstd

operating system

Linux

Activity

bagder

bagder commented on Oct 22, 2020

@bagder
MemberAuthor

Clearly the fix in #6021 was not sufficient...

0x447a

0x447a commented on Oct 23, 2020

@0x447a

Did you try using a different proxy?

cvengler

cvengler commented on Oct 24, 2020

@cvengler
Contributor

Did you try using a different proxy?

I think it's rare that the problem lies in the server

bagder

bagder commented on Oct 24, 2020

@bagder
MemberAuthor

I know it isn't about the server or the proxy, a little simple debugging shows this. And anyone trying this should be able to reproduce fairly easily.

added 2 commits that reference this issue on Oct 26, 2020
ff9ee9c
7533132
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @bagder@cvengler@0x447a

      Issue actions

        SFTP download over HTTPS proxy stalls · Issue #6113 · curl/curl