Commit Graph

19 Commits

Author SHA1 Message Date
Matt Joiner 9224303c1e Update all imports of dht to v2 2019-08-10 18:46:07 +10:00
Matt Joiner 3e3f2e4128 tracker: Add Announce.Context
Use it to rewrite a test that fails with recent go versions due to logging after test completion.
2018-11-28 12:02:12 +11:00
Matt Joiner 41b66adad7 tracker: Set UDP IPAddress field in announces 2018-02-21 13:33:12 +11:00
Matt Joiner 8f7408b1f9 IPv6 tracker support 2018-02-19 16:19:18 +11:00
Matt Joiner 0af2aaf85f Add a bunch of TODOs 2018-02-13 11:18:23 +11:00
Matt Joiner 57216bd299 Standardize on krpc types, and extend PEX message type for IPv6 2018-02-11 15:13:00 +11:00
Matt Joiner 2c5eb2ae43 tracker: Allow resolving announce URL host in advance, and passing the desired Host field for HTTP requests
Also did some clean-up of the announce code, the concept of a client is going away.
2016-05-20 00:48:46 +10:00
Matt Joiner b8e1edef27 Remove the vestiges of the expose tracker Client interface 2016-05-09 12:20:35 +10:00
Seth Hoenig 9f4bf70e17 refactor struct identifiers to follow conventional go names 2016-04-18 23:11:11 -05:00
Matt Joiner b6cd456779 Use new missinggo.SplitHostMaybePort implementation 2016-03-15 21:32:47 +11:00
Matt Joiner f04af72757 tracker: Shoehorn old client implementations into new tracker Announce interface 2016-02-07 18:06:13 +11:00
Matt Joiner 077ffaaf40 Prefix the Action constants
In preparation to rework the client interface
2016-02-07 17:16:01 +11:00
Matt Joiner 9824041e5a Begin tracking use of file descriptors in UDP tracker 2016-01-31 19:04:15 +11:00
Matt Joiner d8a43e1b03 Reduce UDP tracker response buffer size from 64KiB to 2KiB 2015-10-01 00:36:41 +10:00
Matt Joiner 1db00a54f0 Redo the compact peer types 2015-08-17 19:52:47 +10:00
Matt Joiner 1c6045bbf8 Fix peer parsing error introduced during tracker package merges 2015-03-30 23:05:39 +11:00
Matt Joiner 5f7ad4c769 Merge all the tracker packages, why would anyone want them separately? 2015-03-27 15:12:15 +11:00
Matt Joiner 843c954c09 Implementing UDP tracker in its own module 2013-11-07 01:55:29 +11:00
Matt Joiner b499ab3619 Begin on UDP trackers 2013-11-05 00:04:14 +11:00