Specify which documentation you found a problem with
Docs for CURLINFO_SIZE_UPLOAD_T says:
Pass a pointer to a curl_off_t to receive the total amount of bytes that were uploaded.
The problem
The following points should be clarified in the documentation:
- If there were redirects, this value will be zero, even if the very first request was sent using the POST method. The exception is when CURLOPT_POSTREDIR was enabled (same for CURLINFO_CONTENT_LENGTH_UPLOAD_T)
- Even if there were redirects, this value always remains the same and is not cumulative
Also, docs for CURLINFO_CONTENT_LENGTH_UPLOAD_T says:
Pass a pointer to a curl_off_t to receive the specified size of the upload
It's almost same from documentation perspective. So, what is the difference between CURLINFO_SIZE_UPLOAD_T and CURLINFO_CONTENT_LENGTH_UPLOAD_T ?
Specify which documentation you found a problem with
Docs for CURLINFO_SIZE_UPLOAD_T says:
Pass a pointer to a curl_off_t to receive the total amount of bytes that were uploaded.The problem
The following points should be clarified in the documentation:
Also, docs for CURLINFO_CONTENT_LENGTH_UPLOAD_T says:
Pass a pointer to a curl_off_t to receive the specified size of the uploadIt's almost same from documentation perspective. So, what is the difference between CURLINFO_SIZE_UPLOAD_T and CURLINFO_CONTENT_LENGTH_UPLOAD_T ?