summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-06-03 17:56:36 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-06-03 23:11:11 +0200
commit628ebd82b9af893fccb7a3c065c7033b7dfa1096 (patch)
tree8db3c0e99b8cc6b935ab66879072e59e8ce7e944 /docs
parentb193fd3bbdf16afb9023810e258320390e8d01e0 (diff)
downloadcurl-628ebd82b9af893fccb7a3c065c7033b7dfa1096.tar.gz
test269: disable for hyper
--ignore-content-length / CURLOPT_IGNORE_CONTENT_LENGTH doesn't work with hyper. Closes #7184
Diffstat (limited to 'docs')
-rw-r--r--docs/HYPER.md7
-rw-r--r--docs/cmdline-opts/ignore-content-length.d2
-rw-r--r--docs/libcurl/opts/CURLOPT_IGNORE_CONTENT_LENGTH.35
3 files changed, 12 insertions, 2 deletions
diff --git a/docs/HYPER.md b/docs/HYPER.md
index b1a6d0cbb..da6c66337 100644
--- a/docs/HYPER.md
+++ b/docs/HYPER.md
@@ -44,6 +44,13 @@ The API in Hyper delivers received HTTP headers as (cleaned up) name=value
pairs, making it impossible for curl to know the exact byte representation
over the wire with Hyper.
+## Limitations
+
+The hyper backend doesn't support
+
+- `CURLOPT_IGNORE_CONTENT_LENGTH`
+- RTSP
+
## Remaining issues
This backend is still not feature complete with the native backend. Areas that
diff --git a/docs/cmdline-opts/ignore-content-length.d b/docs/cmdline-opts/ignore-content-length.d
index 82ac5da09..cec990a8d 100644
--- a/docs/cmdline-opts/ignore-content-length.d
+++ b/docs/cmdline-opts/ignore-content-length.d
@@ -9,3 +9,5 @@ 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.
diff --git a/docs/libcurl/opts/CURLOPT_IGNORE_CONTENT_LENGTH.3 b/docs/libcurl/opts/CURLOPT_IGNORE_CONTENT_LENGTH.3
index e51b78fb7..56e9ec954 100644
--- a/docs/libcurl/opts/CURLOPT_IGNORE_CONTENT_LENGTH.3
+++ b/docs/libcurl/opts/CURLOPT_IGNORE_CONTENT_LENGTH.3
@@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____|
.\" *
-.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" *
.\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms
@@ -60,7 +60,8 @@ if(curl) {
}
.fi
.SH AVAILABILITY
-Added in 7.14.1. Support for FTP added in 7.46.0.
+Added in 7.14.1. Support for FTP added in 7.46.0. This option is not working
+for the hyper backend.
.SH RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
.SH "SEE ALSO"