Pass seeders and leechers back in UDP announce
This commit is contained in:
parent
3371522119
commit
6731a31839
|
@ -145,6 +145,8 @@ func (me *Server) handleAnnounce(
|
|||
}
|
||||
err = udp.Write(&buf, udp.AnnounceResponseHeader{
|
||||
Interval: res.Interval.UnwrapOr(5 * 60),
|
||||
Seeders: res.Seeders.Value,
|
||||
Leechers: res.Leechers.Value,
|
||||
})
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue