Commit Graph

30 Commits

Author SHA1 Message Date
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 1c6045bbf8 Fix peer parsing error introduced during tracker package merges 2015-03-30 23:05:39 +11: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
Matt Joiner 9869f8f5a9 Almost completed http tracker support 2015-03-26 17:20:31 +11:00
Matt Joiner 842a32ae0c Rewrite import paths for migration from Bitbucket 2015-03-20 16:37:44 +11:00
Matt Joiner b3c4afbe25 Add BEP 41 support 2015-03-12 20:07:10 +11:00
Matt Joiner ba1367536c tracker/udp: Tidy up tests 2014-12-03 12:51:49 -06:00
Matt Joiner c75f79b097 Speed up tests, allow -short for some UDP tracker stuff 2014-12-02 14:23:01 -06:00
Matt Joiner aff0999ddf Skip on errors testing UDP tracker, need to implement a fake server 2014-12-01 14:29:08 -06:00
Matt Joiner 285ecb8418 tracker: Add an explicit URL() method
Needed for merging tracker lists.
2014-11-20 23:39:56 -06:00
Matt Joiner ae28507f30 tracker/udp: Triage errors in tests to real hosts 2014-11-20 16:24:49 -06:00
Matt Joiner cb68c984fa Move some tracker.CompactPeer into util 2014-08-21 21:07:44 +10:00
Matt Joiner e947ce2ee4 Run go vet on everything 2014-07-10 02:59:37 +10:00
Matt Joiner 3b29043861 Add peers sent over PEX 2014-06-29 19:07:43 +10:00
Matt Joiner f45d397e41 udp_tracker: If a read deadline occurs, writes were failing with i/o timeout 2014-06-23 20:30:31 +10:00
Matt Joiner 0f3c4cb3ec Add some String methods and contextual information in log messages 2014-05-21 00:52:49 +10:00
Matt Joiner 1415c0d824 goimports decided to reorganise imports 2014-04-08 19:39:34 +10:00
Matt Joiner 9e7caacbe3 Tidy up 2014-03-20 22:02:15 +11:00
Matt Joiner cbc65ac4c8 Add tracker_test 2014-03-17 02:31:06 +11:00
Matt Joiner 31530899e4 Make use of trackers 2014-03-17 02:30:10 +11:00
Matt Joiner e68d5fec1f Simplify the tracker.New interface, just take a string 2013-12-16 18:47:23 +11:00
Matt Joiner 99d2ced31c Tracker doc 2013-12-16 18:46:55 +11:00
Matt Joiner 5f093c3803 Fixes and tests for UDP tracker protocol 2013-12-14 22:21:45 +11:00
Matt Joiner 8baadf0af3 Fix parsing of UDP announce response peers 2013-12-14 22:20:13 +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