diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-06-04 10:14:48 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-06-04 10:14:48 +0000 |
| commit | fc0725002dddd410f8b22e14dba020ce4bdf5e86 (patch) | |
| tree | 26bfcc131a0a0a17e941a09552fbb089850a7d3b /src/PeerReceiveHandshakeCommand.cc | |
| parent | 0c22b9faf0850115a5fd78c087612a0f4ab419f3 (diff) | |
2008-06-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added --bt-request-peer-speed-limit option, which was a constant
SLOW_SPEED_THRESHOLD.
* src/ActivePeerConnectionCommand.cc
* src/ActivePeerConnectionCommand.h
* src/BtConstants.h
* src/HelpItemFactory.cc
* src/OptionHandlerFactory.cc
* src/PeerReceiveHandshakeCommand.cc
* src/option_processing.cc
* src/prefs.cc
* src/prefs.h
* src/usage_text.h
Diffstat (limited to 'src/PeerReceiveHandshakeCommand.cc')
| -rw-r--r-- | src/PeerReceiveHandshakeCommand.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PeerReceiveHandshakeCommand.cc b/src/PeerReceiveHandshakeCommand.cc index 3c4e411f..b275ae56 100644 --- a/src/PeerReceiveHandshakeCommand.cc +++ b/src/PeerReceiveHandshakeCommand.cc @@ -63,7 +63,7 @@ PeerReceiveHandshakeCommand::PeerReceiveHandshakeCommand(int32_t cuid, const SharedHandle<PeerConnection>& peerConnection): PeerAbstractCommand(cuid, peer, e, s), _peerConnection(peerConnection), - _thresholdSpeed(SLOW_SPEED_THRESHOLD) + _thresholdSpeed(e->option->getAsInt(PREF_BT_REQUEST_PEER_SPEED_LIMIT)) { if(_peerConnection.isNull()) { _peerConnection.reset(new PeerConnection(cuid, socket, e->option)); |
