diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-01-17 08:57:20 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-01-17 08:57:20 +0000 |
commit | 0b4bdcf18f8b438303d591a38923da64fb64c2c2 (patch) | |
tree | 5cad16a5a37a09c8e1a494c7b1d98187d7841e26 | |
parent | 8cade952bf053cbcd8993c2df13d8b952d9c2f45 (diff) |
clarify the INFILESIZE option(s)
-rw-r--r-- | docs/libcurl/curl_easy_setopt.3 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 55f4353bc..08e7405e2 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -1014,10 +1014,16 @@ to POST with \fICURLOPT_POST\fP etc. When uploading a file to a remote site, this option should be used to tell libcurl what the expected size of the infile is. This value should be passed as a long. See also \fICURLOPT_INFILESIZE_LARGE\fP. + +Note that this option does not limit how much data libcurl will actually send, +as that is controlled entirely by what the read callback returns. .IP CURLOPT_INFILESIZE_LARGE When uploading a file to a remote site, this option should be used to tell libcurl what the expected size of the infile is. This value should be passed as a curl_off_t. (Added in 7.11.0) + +Note that this option does not limit how much data libcurl will actually send, +as that is controlled entirely by what the read callback returns. .IP CURLOPT_UPLOAD A non-zero parameter tells the library to prepare for an upload. The \fICURLOPT_READDATA\fP and \fICURLOPT_INFILESIZE\fP or |