← Commit list

b7c9229cc6

Daniel Stenberg
Daniel Stenberg
2026-06-11
SUCCESS Duration: 256s

Subject

CURLINFO_CONTENT_LENGTH_UPLOAD_T.md: expand

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

docs/libcurl/opts/CURLINFO_CONTENT_LENGTH_UPLOAD_T.md+5 -0
@@ -31,6 +31,11 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_CONTENT_LENGTH_UPLOAD_T,
Pass a pointer to a *curl_off_t* to receive the specified size of the
upload. Stores -1 if the size is not known.
+This is the size set by the client prior to the transfer start. The expected
+upload amount. Compare this with CURLINFO_SIZE_UPLOAD_T(3), which is the
+amount of data that was actually uploaded in the end. In many cases those two
+numbers are identical.
+
# %PROTOCOLS%
# EXAMPLE