Skip to content

Commit

Permalink
Fix webseeds not requesting after priorities are already set
Browse files Browse the repository at this point in the history
  • Loading branch information
anacrolix committed Aug 27, 2024
1 parent fae0ec1 commit 3b0b61f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torrent.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3b0b61f

Please sign in to comment.