torrent.go | 3 +++ diff --git a/torrent.go b/torrent.go index dfc56a325dd37cca775ec88c1960fe7ca50f168d..7ccf13f680444b8fea5ba1d0a77813b1eb4e6aaf 100644 --- a/torrent.go +++ b/torrent.go @@ -1091,6 +1091,9 @@ } if !c.peerHasPiece(piece) { return } + if c.peerChoking && !c.peerAllowedFast.Contains(uint32(piece)) { + return + } c.updateRequests(reason) }) }