patchmldonkey, a multi-networks file-sharing client - Patches: patch #5363, Limit max_hard_download_rate when...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5363: Limit max_hard_download_rate when max_hard_upload_rate < 10

Submitter:  spiralvoice <spiralvoice>
Submitted:  Sat 02 Sep 2006 04:09:44 PM UTC
   
 
Category:  Bug fixes Priority:  7 - High
Status:  Done Assigned to:  None
Open/Closed:  Closed

Sun 03 Sep 2006 11:46:09 AM UTC, comment #1: 

Applied 2006/09/03

spiralvoice <spiralvoice>
Group administrator
Sat 02 Sep 2006 04:09:44 PM UTC, original submission:  

Here we implement the same scheme eMule uses for limiting bandwidth:

max_hard_upload_rate >= 10 -> unlimited download

max_hard_upload_rate bigger than 3 but smaller than 10:
max_hard_download_rate = max_hard_upload_rate * 4

max_hard_upload_rate smaller than 4:
max_hard_download_rate = max_hard_upload_rate * 3

Also this patch converts all negative values to zero.

spiralvoice <spiralvoice>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #10678:  5363.patch added by spiralvoice (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-09-03 spiralvoice StatusNone Done
    Open/ClosedOpen Closed
2006-09-03 spiralvoice Attached File- Added 5363.patch, #10678
2006-09-03 spiralvoice Attached File#10671 Removed
2006-09-02 spiralvoice Attached File- Added ratios.patch, #10671

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code