projects
/
btrtrc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fae0ec1
)
Fix webseeds not requesting after priorities are already set
author
Matt Joiner <anacrolix@gmail.com>
Tue, 27 Aug 2024 01:29:59 +0000 (11:29 +1000)
committer
Matt Joiner <anacrolix@gmail.com>
Tue, 27 Aug 2024 01:30:19 +0000 (11:30 +1000)
https://github.com/anacrolix/torrent/issues/964#issuecomment-
2295308596
torrent.go
patch
|
blob
|
history
diff --git
a/torrent.go
b/torrent.go
index 2742ad6a90afd30da10d4544cdc103f1cdc6365c..68cfe1f0bec2fea03c57d5e4d1267037be63bb8a 100644
(file)
--- a/
torrent.go
+++ b/
torrent.go
@@
-2904,6
+2904,7
@@
func (t *Torrent) addWebSeed(url string, opts ...AddWebSeedsOpt) {
ws.onGotInfo(t.info)
}
t.webSeeds[url] = &ws.peer
+ ws.peer.updateRequests("Torrent.addWebSeed")
}
func (t *Torrent) peerIsActive(p *Peer) (active bool) {