mldonkey-users
[Top][All Lists]
Advanced

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

[Mldonkey-users] [patch #4374] fix "max_hard_download_rate has to be dou


From: pango
Subject: [Mldonkey-users] [patch #4374] fix "max_hard_download_rate has to be doubled"
Date: Thu, 1 Sep 2005 00:58:42 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050718 Galeon/1.3.20 (Debian package 1.3.20-1)

Follow-up Comment #14, patch #4374 (project mldonkey):

After reading bandwidth controlers code, I suspect that lines 1701 and 1702
or tcpBufferedSocket.ml:

                     );
-                    bc.remaining_bytes <- bc.remaining_bytes -
-                    t.nread + old_nread;
                     bc.nconnections <- bc.nconnections - t.read_power

Are no longer needed, because can_read_handler already updates
remaining_bytes counters.

Maybe b8_bavard or Simon, that know that code better than me, could confirm
?

(New -only slightly tested- patch attached.)

    _______________________________________________________

Additional Item Attachment:

File name: fix_doubled_download_rates.patch Size:5 KB

<http://savannah.nongnu.org/patch/download.php?item_id=4374&item_file_id=5119>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4374>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

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