2
0
mirror of synced 2025-02-24 06:38:14 +00:00

722 Commits

Author SHA1 Message Date
Matt Joiner
36c6283a94 Fix a status line going to stdout 2015-03-09 17:35:51 +11:00
Matt Joiner
d7695c4585 Change torrent.Name() 2015-03-09 17:35:29 +11:00
Matt Joiner
0c7c2e1955 util.AddrIP, TCPAddr 2015-03-08 17:44:08 +11:00
Matt Joiner
1663a8a2f5 iplist: Fix ranges that contain extra colons, and minimize memory use for IP 2015-03-08 17:43:44 +11:00
Matt Joiner
ad6ac3f2cd More cleaning of public interface 2015-03-08 17:28:14 +11:00
Matt Joiner
3e753bb8ad Change up the data storage interfaces a bit 2015-03-07 17:11:45 +11:00
Matt Joiner
cad611bbcf Since IPv6 blocklists aren't prevalent, default to using IPv4 in client for now 2015-03-07 17:11:02 +11:00
Matt Joiner
881458d079 iplist: Check for matches against IPv4 and IPv6 addresses 2015-03-07 17:09:39 +11:00
Matt Joiner
1c5bd1855a Improvements to P2P blocklist scanning errors 2015-03-07 17:09:18 +11:00
Matt Joiner
e4dec03a32 Change the way readahead pieces are calculated 2015-03-04 13:07:11 +11:00
Matt Joiner
779f4d3b97 Implement Handle.ReadAt 2015-03-04 13:06:33 +11:00
Matt Joiner
ceabaaaeb2 Add Piece.Offset 2015-03-04 13:03:47 +11:00
Matt Joiner
63361b7b47 Extraneous import 2015-03-01 15:19:35 +11:00
Matt Joiner
8858b77666 TODO 2015-03-01 14:33:10 +11:00
Matt Joiner
4eb70e0673 Support opening handles to Torrent and File 2015-03-01 14:32:54 +11:00
Matt Joiner
b4d3b0d11a Add Piece.Hash() 2015-02-27 13:00:05 +11:00
Matt Joiner
a2d69b4931 Make blob data stateful 2015-02-27 12:45:55 +11:00
Matt Joiner
bd6d72fa5f Files.Path and .FileInfo change 2015-02-27 01:46:40 +11:00
Matt Joiner
8f744300cc Add piece blob torrent.Data storage, and move testutil to internal/, add basic transfer test for Client and blob 2015-02-27 01:46:02 +11:00
Matt Joiner
315c703456 Rename TorrentData->Data 2015-02-27 01:43:37 +11:00
Matt Joiner
daf93c8232 Add various helpers to Info 2015-02-27 01:41:35 +11:00
Matt Joiner
22746dda23 Ditch the intermediate MetaInfo type 2015-02-26 22:17:58 +11:00
Matt Joiner
a5d60fd76f Fixes for single/multi-file torrent Infos 2015-02-26 22:12:02 +11:00
Matt Joiner
fd5c0798e3 fs test: Resolve localhost, some platforms are funny about it 2015-02-26 16:11:33 +11:00
Matt Joiner
f588522b66 Client.Torrent(InfoHash) 2015-02-26 16:10:55 +11:00
Matt Joiner
3f335cabfc Implement File.ReadAt 2015-02-26 16:10:38 +11:00
Matt Joiner
9ffb9b0b88 Scale readahead pieces a bit 2015-02-26 16:10:15 +11:00
Matt Joiner
c75dbccea3 Hide a whole bunch of functions seen via torrent 2015-02-25 15:42:47 +11:00
Matt Joiner
80ce2c3188 Set torrentDataOpener from config 2015-02-25 15:41:13 +11:00
Matt Joiner
295b71c09b Not listening! 2015-02-25 14:52:19 +11:00
Matt Joiner
48dc85bfd3 Return no Files if Torrent Info isn't available 2015-02-25 14:51:56 +11:00
Matt Joiner
0ce6a5fe51 Fix imports 2015-02-25 14:51:12 +11:00
Matt Joiner
96f8270bb9 Add Magnet.String() 2015-02-25 14:50:01 +11:00
Matt Joiner
0eb418360b Allow configuring Client torrent data opener, config dir, disabling metainfo cache, and prune with a timer instead of goroutine 2015-02-25 14:48:39 +11:00
Matt Joiner
61adeee308 Make IPBlockList accessible from Client 2015-02-25 11:25:22 +11:00
Matt Joiner
bc940ae2c6 Remove unused code 2015-02-25 01:40:27 +11:00
Matt Joiner
9fb7934d0c Comments 2015-02-25 01:34:57 +11:00
Matt Joiner
bad7df778a Hopefully maybe fix bind error on Codeship test runner 2015-02-21 15:25:34 +11:00
Matt Joiner
92e0679b04 Change piece prioritization 2015-02-21 15:02:31 +11:00
Matt Joiner
2025daa77c Improve announcer routines 2015-02-21 15:02:06 +11:00
Matt Joiner
a372b68abb dht: Handle responses through a callback
Trying to reduce number of goroutines
2015-02-21 15:00:48 +11:00
Matt Joiner
e067bff5b3 Comments 2015-02-21 14:58:28 +11:00
Matt Joiner
c3457b2f54 Change status output 2015-02-21 14:57:37 +11:00
Matt Joiner
763f238492 Tweak handshaking and peer water marks 2015-02-21 14:56:17 +11:00
Matt Joiner
ea5611d949 Limit pending requests to increase responsiveness 2015-02-21 14:54:15 +11:00
Matt Joiner
91a2efba6c TODO 2015-02-21 14:53:27 +11:00
Matt Joiner
5eb0428f8e fs: Ensure DownloadOnDemand runs through UTP 2015-02-18 21:33:42 +11:00
Matt Joiner
eb2aefdcdb internal/pieceordering: Doc 2015-02-18 21:33:03 +11:00
Matt Joiner
94c01fb565 defer Unlock 2015-02-10 00:21:50 +11:00
Matt Joiner
2b3d286e9e dht: Fix race 2015-02-10 00:21:22 +11:00