curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

File upload - Progress-meter becomes misleading when POST takes time.

From: kifer lemet via curl-users <curl-users_at_lists.haxx.se>
Date: Fri, 7 Jan 2022 13:36:11 +0300

Hello dear friends,

I perform some file upload operations via POST request with *curl 7.55.1*.

It seems Curl progress meter, calculates and shows the upload speed based
on the POST request completion duration instead of the duration passed from
first byte uploaded to last byte uploaded.
This becomes even more misleading when interpreting upload time and speed
when POST actually performs some task with the uploaded result and then
returns.
This behavior does not exist if we use progress bar instead of progress
meter.

I am not sure if it can be considered as a bug or there is actually some
other logic behind it which I cannot understand.

Best,
Refik


-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-01-07