projects
/
btrtrc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16eb8a9
)
Forgot to remove initial have all state for webseeds
author
Matt Joiner <anacrolix@gmail.com>
Tue, 11 May 2021 07:14:56 +0000 (17:14 +1000)
committer
Matt 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
patch
|
blob
|
history
diff --git
a/torrent.go
b/torrent.go
index ae78625fcffae9f2bf0a1bd7bdbbc291ca5c2d19..405748c90d55e2717991bace8f01b0b3efde640b 100644
(file)
--- a/
torrent.go
+++ b/
torrent.go
@@
-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),