CURLINFO_CONTENT_LENGTH_UPLOAD_T.md: expand

Fixes #21953
Reported-by: BazaarAcc32 on github
Closes #21956
This commit is contained in:
Daniel Stenberg 2026-06-10 23:41:51 +02:00
parent 9cf6b70ad7
commit b7c9229cc6
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -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