Commit Graph

14 Commits

Author SHA1 Message Date
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
Robert Kästel 82b7abb877 Retain query parameters from announce URL. 2016-02-14 21:15:51 +01:00
Matt Joiner f04af72757 tracker: Shoehorn old client implementations into new tracker Announce interface 2016-02-07 18:06:13 +11:00
Matt Joiner 4587f61074 tracker: Rename response->httpResponse 2016-02-07 17:45:46 +11:00
Matt Joiner 1ea9beb802 tracker: Rename the http client type to httpClient 2016-02-05 15:42:23 +11:00
Matt Joiner 1db00a54f0 Redo the compact peer types 2015-08-17 19:52:47 +10:00
Matt Joiner c5208569ca Apply sortimports 2015-04-30 00:31:34 +10:00
Matt Joiner 526d9d738e Rewrite imports to local bencode and metainfo 2015-04-27 14:55:01 +10:00
Matt Joiner d4875c0bfa Send supportcrypto=1 to HTTP trackers 2015-03-27 17:22:42 +11:00
Matt Joiner 90b27618ac The signedness on several tracker.AnnounceRequest fields now matters
Sending negative ports and lefts through to HTTP trackers was making them mad.
2015-03-27 17:22:00 +11:00
Matt Joiner 176f6e6aa4 Tidy up error handling on HTTP tracker client 2015-03-27 17:18:45 +11:00
Matt Joiner 5f7ad4c769 Merge all the tracker packages, why would anyone want them separately? 2015-03-27 15:12:15 +11:00