1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00
Viktor Szakats b7b4dc0d49 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: https://github.com/curl/curl/issues/1732
Closes https://github.com/curl/curl/pull/1735
2017-08-17 03:32:00 -04:00
..
2016-10-18 13:59:54 +02:00
2017-03-26 23:56:23 +02:00
2017-03-26 23:56:23 +02:00
2017-04-22 11:25:27 +02:00
2017-03-13 23:11:45 +01:00
2017-03-13 23:11:45 +01:00
2017-03-13 23:11:45 +01:00
2017-03-26 23:56:23 +02:00
2017-07-28 16:41:29 +02:00
2017-06-30 10:17:27 +02:00
2017-08-06 23:42:50 +02:00
2017-03-13 23:11:45 +01:00
2017-04-22 11:25:27 +02:00
2017-04-22 11:25:27 +02:00
2017-05-11 10:04:01 +02:00
2017-06-30 10:17:27 +02:00
2017-04-22 11:25:27 +02:00
2017-04-22 11:25:27 +02:00
2017-03-13 23:11:45 +01:00
2017-03-26 23:56:23 +02:00
2017-06-30 10:27:41 +02:00
2017-06-18 23:57:45 +02:00
2016-12-21 11:07:26 +01:00
2017-07-10 10:22:34 +02:00
2017-04-22 11:25:27 +02:00
2017-03-26 23:56:23 +02:00
2017-06-21 07:46:21 +02:00
2017-08-01 13:39:38 +02:00
2017-06-08 10:50:47 +02:00
2017-08-03 10:04:16 +02:00
2017-03-13 23:11:45 +01:00
2017-03-26 23:56:23 +02:00
2017-05-01 22:55:29 +02:00
2017-06-30 10:17:27 +02:00
2017-06-30 10:17:27 +02:00
2017-06-30 10:17:27 +02:00
2016-12-24 23:35:43 +01:00
2017-06-30 10:17:27 +02:00
2017-03-13 23:11:45 +01:00
2017-03-26 23:56:23 +02:00
2017-08-12 17:25:50 +02:00
2017-02-28 09:10:18 +01:00