diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-06-05 11:26:08 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-06-05 11:26:08 +0900 |
| commit | 93bd6cfbb8e46b53c042984d295fb152e0ec6982 (patch) | |
| tree | 2e592cd0d7180467572e04a80a14a439b085573b /src | |
| parent | 22a91dfe121b2c12841c8615ef6aaf62356bd1ae (diff) | |
Disable opt unchoking for bad peer
Diffstat (limited to 'src')
| -rw-r--r-- | src/BtLeecherStateChoke.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/BtLeecherStateChoke.cc b/src/BtLeecherStateChoke.cc index 5c734a4f..3e57df53 100644 --- a/src/BtLeecherStateChoke.cc +++ b/src/BtLeecherStateChoke.cc @@ -225,6 +225,7 @@ void BtLeecherStateChoke::executeChoke(const PeerSet& peerSet) p->chokingRequired(true); if (p->snubbing()) { + p->optUnchoking(false); continue; } |
