Explorar el Código

Disable opt unchoking for bad peer

Tatsuhiro Tsujikawa hace 9 años
padre
commit
93bd6cfbb8
Se han modificado 1 ficheros con 1 adiciones y 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;
     }