瀏覽代碼

Disable opt unchoking for bad peer

Tatsuhiro Tsujikawa 9 年之前
父節點
當前提交
93bd6cfbb8
共有 1 個文件被更改,包括 1 次插入0 次删除
  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;
     }