keeps track of the number of requests waiting in the send buffer and adjusts bandwidht priority accordingly in the bandwidth limiter
This commit is contained in:
@@ -2528,6 +2528,7 @@ It contains the following fields::
|
||||
|
||||
size_type load_balancing;
|
||||
|
||||
int requests_in_buffer;
|
||||
int download_queue_length;
|
||||
int upload_queue_length;
|
||||
|
||||
@@ -2724,6 +2725,9 @@ this member says how much *extra* free upload this peer has got. If it is a nega
|
||||
number it means that this was a peer from which we have got this amount of free
|
||||
download.
|
||||
|
||||
``requests_in_buffer`` is the number of requests messages that are currently in the
|
||||
send buffer waiting to be sent.
|
||||
|
||||
``download_queue_length`` is the number of piece-requests we have sent to this peer
|
||||
that hasn't been answered with a piece yet.
|
||||
|
||||
|
Reference in New Issue
Block a user