1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

CURLOPT_SSH_COMPRESSION.3: enable with 1L

(leaves other values reserved for the future)
This commit is contained in:
Daniel Stenberg 2017-08-17 09:52:13 +02:00
parent 525fb7e16a
commit 582f2a1308
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -28,12 +28,12 @@ CURLOPT_SSH_COMPRESSION \- enables automatic decompression of HTTP downloads
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_SSH_COMPRESSION, long enable);
.SH DESCRIPTION
Pass a long as parameter to enable or disable.
Pass a long as parameter set to 1L to enable or 0L to disable.
Enables built-in SSH compression.
This is a request, not an order; the server may or may not do it.
Enables built-in SSH compression. This is a request, not an order; the server
may or may not do it.
.SH DEFAULT
0, disabled
.SH PROTOCOLS
All SSH based protocols: SCP, SFTP
.SH EXAMPLE