Sfoglia il codice sorgente

Disable opt unchoking for bad peer

Tatsuhiro Tsujikawa 9 anni fa
parent
commit
93bd6cfbb8
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/BtLeecherStateChoke.cc

+ 1 - 0
src/BtLeecherStateChoke.cc

@@ -225,6 +225,7 @@ void BtLeecherStateChoke::executeChoke(const PeerSet& peerSet)
     p->chokingRequired(true);
 
     if (p->snubbing()) {
+      p->optUnchoking(false);
       continue;
     }