]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Forgot to remove initial have all state for webseeds
authorMatt Joiner <anacrolix@gmail.com>
Tue, 11 May 2021 07:14:56 +0000 (17:14 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 7 Jun 2021 03:01:39 +0000 (13:01 +1000)
Later when the webseed was closed, it was assumed that it had contributed to the piece availability count.

torrent.go

index ae78625fcffae9f2bf0a1bd7bdbbc291ca5c2d19..405748c90d55e2717991bace8f01b0b3efde640b 100644 (file)
@@ -2175,7 +2175,6 @@ func (t *Torrent) addWebSeed(url string) {
                        outgoing:                 true,
                        Network:                  "http",
                        reconciledHandshakeStats: true,
-                       peerSentHaveAll:          true,
                        // TODO: Raise this limit, and instead limit concurrent fetches.
                        PeerMaxRequests: 32,
                        RemoteAddr:      remoteAddrFromUrl(url),