Unchoke a peer randomly at first and second choke round in seed state. * src/BtSeederStateChoke.cc
@@ -1,3 +1,9 @@
+2009-06-04 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
+
+ Unchoke a peer randomly at first and second choke round in seed
+ state.
+ * src/BtSeederStateChoke.cc
2009-06-02 Ross Smith II <aria2spam at smithii dot com>
Added (sock_t) to quiet compiler warnings in MinGW
@@ -96,7 +96,7 @@ void BtSeederStateChoke::unchoke
(*r).getUploadSpeed());
}
- if(_round == 2) {
+ if(_round < 2) {
std::for_each(peers.begin(), peers.end(),
std::mem_fun_ref(&PeerEntry::disableOptUnchoking));
if(r != peers.end()) {