Disable opt unchoking for bad peer

pull/675/head
Tatsuhiro Tsujikawa 2016-06-05 11:26:08 +09:00
parent 22a91dfe12
commit 93bd6cfbb8
1 changed files with 1 additions and 0 deletions

View File

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