Explorar o código

Disable opt unchoking for bad peer

Tatsuhiro Tsujikawa %!s(int64=9) %!d(string=hai) anos
pai
achega
93bd6cfbb8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;
     }