소스 검색

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;
     }