Pass callbacks to webseed peers
This commit is contained in:
parent
1ac5811990
commit
4078644db9
|
@ -2120,6 +2120,7 @@ func (t *Torrent) addWebSeed(url string) {
|
|||
// TODO: Raise this limit, and instead limit concurrent fetches.
|
||||
PeerMaxRequests: maxRequests,
|
||||
RemoteAddr: remoteAddrFromUrl(url),
|
||||
callbacks: t.callbacks(),
|
||||
},
|
||||
client: webseed.Client{
|
||||
// TODO: Investigate a MaxConnsPerHost in the transport for this, possibly in a global
|
||||
|
|
Loading…
Reference in New Issue