Disable opt unchoking for bad peer

This commit is contained in:
Tatsuhiro Tsujikawa 2016-06-05 11:26:08 +09:00
parent 22a91dfe12
commit 93bd6cfbb8

View File

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