mirror of
https://github.com/moparisthebest/curl
synced 2024-11-16 06:25:03 -05:00
docs: mention CURL_MAX_INPUT_LENGTH restrictions
... for curl_easy_setopt() and curl_url_set(). [skip ci] Closes #4783
This commit is contained in:
parent
392bff4abf
commit
2150c4b5d3
@ -5,7 +5,7 @@
|
|||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
@ -623,6 +623,10 @@ TELNET options. See \fICURLOPT_TELNETOPTIONS(3)\fP
|
|||||||
error occurred as \fI<curl/curl.h>\fP defines. See the \fIlibcurl-errors(3)\fP
|
error occurred as \fI<curl/curl.h>\fP defines. See the \fIlibcurl-errors(3)\fP
|
||||||
man page for the full list with descriptions.
|
man page for the full list with descriptions.
|
||||||
|
|
||||||
|
Strings passed on to libcurl must be shorter than 8000000 bytes, otherwise
|
||||||
|
\fIcurl_easy_setopt(3)\fP returns \fBCURLE_BAD_FUNCTION_ARGUMENT\fP (added in
|
||||||
|
7.65.0).
|
||||||
|
|
||||||
If you try to set an option that libcurl doesn't know about, perhaps because
|
If you try to set an option that libcurl doesn't know about, perhaps because
|
||||||
the library is too old to support it or the option was removed in a recent
|
the library is too old to support it or the option was removed in a recent
|
||||||
version, this function will return \fICURLE_UNKNOWN_OPTION\fP. If support for
|
version, this function will return \fICURLE_UNKNOWN_OPTION\fP. If support for
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
.\" * | (__| |_| | _ <| |___
|
.\" * | (__| |_| | _ <| |___
|
||||||
.\" * \___|\___/|_| \_\_____|
|
.\" * \___|\___/|_| \_\_____|
|
||||||
.\" *
|
.\" *
|
||||||
.\" * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
|
.\" * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||||
.\" *
|
.\" *
|
||||||
.\" * This software is licensed as described in the file COPYING, which
|
.\" * This software is licensed as described in the file COPYING, which
|
||||||
.\" * you should have received as part of this distribution. The terms
|
.\" * you should have received as part of this distribution. The terms
|
||||||
@ -122,6 +122,10 @@ permits empty authority sections, similar to how file scheme is handled.
|
|||||||
Returns a CURLUcode error value, which is CURLUE_OK (0) if everything went
|
Returns a CURLUcode error value, which is CURLUE_OK (0) if everything went
|
||||||
fine.
|
fine.
|
||||||
|
|
||||||
|
A URL string passed on to \fIcurl_url_set(3)\fP for the \fBCURLUPART_URL\fP
|
||||||
|
part, must be shorter than 8000000 bytes otherwise it returns
|
||||||
|
\fBCURLUE_MALFORMED_INPUT\fP (added in 7.65.0).
|
||||||
|
|
||||||
If this function returns an error, no URL part is returned.
|
If this function returns an error, no URL part is returned.
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
.nf
|
.nf
|
||||||
|
Loading…
Reference in New Issue
Block a user