summaryrefslogtreecommitdiff
path: root/src/ActivePeerConnectionCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-06-10 11:31:35 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-06-10 11:31:35 +0000
commit46627da9a85c67892d9056a2b1cd713675689837 (patch)
tree18df0daed7c905c5dd0c18e340c2b40b78f1b5a0 /src/ActivePeerConnectionCommand.h
parent7a74971caa34bc1fcf0c7913a09d274b039b8722 (diff)
2008-06-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Actively establish connection to peers in seeding, when peer cache is not full and max upload speed limit is not reached. * src/ActivePeerConnectionCommand.cc * src/ActivePeerConnectionCommand.h
Diffstat (limited to 'src/ActivePeerConnectionCommand.h')
-rw-r--r--src/ActivePeerConnectionCommand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ActivePeerConnectionCommand.h b/src/ActivePeerConnectionCommand.h
index 39b03380..4414ea37 100644
--- a/src/ActivePeerConnectionCommand.h
+++ b/src/ActivePeerConnectionCommand.h
@@ -54,6 +54,7 @@ private:
DownloadEngine* e;
Time checkPoint;
unsigned int _thresholdSpeed; // UNIT: byte/sec
+ unsigned int _maxUploadSpeedLimit;
size_t _numNewConnection; // the number of the connection to establish.
public:
ActivePeerConnectionCommand(int cuid,