Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh: add ability to enable compression (for SCP/SFTP) #1735

Closed
wants to merge 1 commit into from
Closed

ssh: add ability to enable compression (for SCP/SFTP) #1735

wants to merge 1 commit into from

Commits on Aug 16, 2017

  1. ssh: add the ability to enable compression (for SCP/SFTP)

    The required low-level logic was already available as part of
    `libssh2` (via `LIBSSH2_FLAG_COMPRESS` `libssh2_session_flag()`[1]
    option.)
    
    This patch adds the new `libcurl` option `CURLOPT_SSH_COMPRESSION`
    (boolean) and the new `curl` command-line option `--compressed-ssh`
    to request this `libssh2` feature. To have compression enabled, it
    is required that the SSH server supports a (zlib) compatible
    compression method and that `libssh2` was built with `zlib` support
    enabled.
    
    [1] https://www.libssh2.org/libssh2_session_flag.html
    Ref: #1732
    vszakats committed Aug 16, 2017
    Copy the full SHA
    fa7b3a1 View commit details
    Browse the repository at this point in the history