-
-
Notifications
You must be signed in to change notification settings - Fork 651
Open
Description
Lines 231 to 236 in fae873d
e := tracker.Started | |
for { | |
ar := me.announce(ctx, e) | |
// after first announce, get back to regular "none" | |
e = tracker.None |
Currently, we only support started
and none. Without event, private tracker may have trouble to record stats.
How to impl
stopped
: we should calltrackerScraper.announceStopped
whenclient.dropTorrent
-torrent.close
. Another case is grateful stop.completed
: I don't have a good idea inanacrolix/torrent
maybe expose funcannounceCompleted
intorrent
. and let client make the call. For example https://github.com/GopeedLab/gopeed/blob/3262e5a11b04cb7e84c9af7dac9175eeb8505bdb/internal/protocol/bt/fetcher.go#L216
@anacrolix wdyt? I can work on impl, if you want.
Metadata
Metadata
Assignees
Labels
No labels