Closed
Bug 353182
Opened 18 years ago
Closed 8 years ago
Teach nsIncrementalDownload to throttle download rate
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: darin.moz, Unassigned)
References
Details
Attachments
(1 file)
4.41 KB,
patch
|
Biesinger
:
review+
|
Details | Diff | Splinter Review |
Teach nsIncrementalDownload to throttle download rate i.e., deal with bug 352853 in a smarter way.
Reporter | ||
Comment 1•18 years ago
|
||
Here's a fairly simple patch for this bug. I chose to make the interval between ODA events proportional to mInterval so that 1) I would not need a new configuration parameter, and 2) so that the period between ODA events would not be larger than mInterval. The value is capped to 3 seconds to help avoid the problem of servers dropping the connection.
Attachment #239074 -
Flags: review?(cbiesinger)
Comment 2•18 years ago
|
||
This patch measures download speed - how about, if this is high enough (definitely not dial up), you just stop throttling completely? This way, people with real broadband (>1mbps?) will not hold the server busy any longer than needed.
Reporter | ||
Comment 3•18 years ago
|
||
I agree. That would be better.
Comment 4•18 years ago
|
||
(In reply to comment #2) > This patch measures download speed It actually doesn't...
Updated•18 years ago
|
Attachment #239074 -
Flags: review?(cbiesinger) → review+
Comment 7•8 years ago
|
||
I'm going to wontfix this, but I would take a patch letting a normal http channel do throttling - then that could replace the incremental downloader
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•