mirror of
https://github.com/curl/curl.git
synced 2026-08-05 07:26:13 +03:00
lib: add CURLINFO_SIZE_DELIVERED
This commit is contained in:
parent
da0597d07d
commit
69c6cda944
4 changed files with 84 additions and 1 deletions
|
|
@ -414,6 +414,9 @@ static CURLcode getinfo_offt(struct Curl_easy *data, CURLINFO info,
|
|||
case CURLINFO_FILETIME_T:
|
||||
*param_offt = (curl_off_t)data->info.filetime;
|
||||
break;
|
||||
case CURLINFO_SIZE_DELIVERED:
|
||||
*param_offt = data->progress.deliver;
|
||||
break;
|
||||
case CURLINFO_SIZE_UPLOAD_T:
|
||||
*param_offt = data->progress.ul.cur_size;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue