wget-dev
[Top][All Lists]
Advanced

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

Re: [Wget-dev] wget2 | WIP: Implemented limit-rate feature (!420)


From: Tim Rühsen
Subject: Re: [Wget-dev] wget2 | WIP: Implemented limit-rate feature (!420)
Date: Sun, 21 Apr 2019 20:25:09 +0000



Maybe the `ring_used` code should be executed only when --limit-rate is given 
!? Also I don't get why `next_pos` is calculated using `ring_used`... from my 
understanding it would be sufficient to have `if (config.limit_rate && 
slotp->ring_used<2) { slotp->ring_used++; sprintf(slotp->speed_buf, " --.-K"); 
}`, so that the existing code/logic isn't changed. Maybe I am wrong, then 
please explain.

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




reply via email to

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