wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Wget-dev] wget2 | Fix progress display (issue #339) (!391)


From: Josef Möllers
Subject: Re: [Wget-dev] wget2 | Fix progress display (issue #339) (!391)
Date: Fri, 17 Aug 2018 11:44:11 +0000

I had to resort to adding a field "accounted_for" to wget_http_response_t, 
which contains the number of bytes reported to the progress bar so far. Then 
the difference between "cur_downloaded" and "accounted_for" is given to 
bar_set_downloaded() and then "accounted_for" is set to "cur_downloaded".

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/merge_requests/391#note_95119300
You're receiving this email because of your account on gitlab.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]