diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-08-23 09:58:54 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-08-23 11:23:17 +0200 |
commit | 46d4373ea7a0c2306daacdfb5825862cd94ff764 (patch) | |
tree | 4ae9521b87d0ccf4165c5a40092f75c91222a557 /docs | |
parent | 0854781c18c792c6ccb9ca9160745ca10ac735e4 (diff) | |
download | curl-46d4373ea7a0c2306daacdfb5825862cd94ff764.tar.gz |
setopt: enable CURLOPT_IGNORE_CONTENT_LENGTH for hyper
Since this option is also used for FTP, it needs to work to set for
applications even if hyper doesn't support it for HTTP. Verified by test
1137.
Updated docs to specify that the option doesn't work for HTTP when using
the hyper backend.
Closes #7614
Diffstat (limited to 'docs')
-rw-r--r-- | docs/cmdline-opts/ignore-content-length.d | 2 | ||||
-rw-r--r-- | docs/libcurl/opts/CURLOPT_IGNORE_CONTENT_LENGTH.3 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/cmdline-opts/ignore-content-length.d b/docs/cmdline-opts/ignore-content-length.d index cec990a8d..2555ccaae 100644 --- a/docs/cmdline-opts/ignore-content-length.d +++ b/docs/cmdline-opts/ignore-content-length.d @@ -10,4 +10,4 @@ files larger than 2 gigabytes. For FTP (since 7.46.0), skip the RETR command to figure out the size before downloading a file. -This option doesn't work if libcurl was built to use hyper for HTTP. +This option doesn't work for HTTP if libcurl was built to use hyper. diff --git a/docs/libcurl/opts/CURLOPT_IGNORE_CONTENT_LENGTH.3 b/docs/libcurl/opts/CURLOPT_IGNORE_CONTENT_LENGTH.3 index 56e9ec954..1465832a4 100644 --- a/docs/libcurl/opts/CURLOPT_IGNORE_CONTENT_LENGTH.3 +++ b/docs/libcurl/opts/CURLOPT_IGNORE_CONTENT_LENGTH.3 @@ -61,7 +61,7 @@ if(curl) { .fi .SH AVAILABILITY Added in 7.14.1. Support for FTP added in 7.46.0. This option is not working -for the hyper backend. +for HTTP when libcurl is built to use the hyper backend. .SH RETURN VALUE Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. .SH "SEE ALSO" |