-
e406d74ff0
Don't guess cap for some torrent fields, need to minimize memory use
Matt Joiner
2014-12-20 13:00:21 +1100
-
db749b89db
dht-get-peers: Don't bother to close the server before quitting
Matt Joiner
2014-12-20 10:11:34 +1100
-
dbf72c1033
dht: Some peer sent me a bad info_hash
Matt Joiner
2014-12-20 10:10:53 +1100
-
ec47c4f4dc
dht: Use a bloom filter to track contacted nodes during peer discovery
Matt Joiner
2014-12-20 10:10:22 +1100
-
20d4549430
dht: Use both bootstrap addrs, as they seem to take turns going down
Matt Joiner
2014-12-20 10:09:11 +1100
-
e6c93455b5
Add some tools for analysing bloom filter use
Matt Joiner
2014-12-20 10:07:41 +1100
-
8d87bb83a6
Refine connection status flags
Matt Joiner
2014-12-09 00:26:06 -0600
-
b52f866e90
dht: We can now message nodes with no ID if there's nothing better
Matt Joiner
2014-12-09 00:25:49 -0600
-
b2dd026793
Update TODO
Matt Joiner
2014-12-09 00:24:57 -0600
-
f513772f1f
dht: Slow down the start a little, as lots of torrents will hammer out UDP packets
Matt Joiner
2014-12-09 00:24:05 -0600
-
262f045fd1
Fixes due to not pending chunk specs prematurely
Matt Joiner
2014-12-09 00:22:05 -0600
-
998d85ba50
:)
Matt Joiner
2014-12-08 21:59:01 -0600
-
48582796ed
Add pending peers high water mark to stop excessively long running DHT queries
Matt Joiner
2014-12-08 21:58:49 -0600
-
fa501ed06a
dht: Limit the size of peer discovery backlog
Matt Joiner
2014-12-08 21:57:53 -0600
-
a081ad63d9
Save memory by not pending chunks prematurely
Matt Joiner
2014-12-08 21:57:13 -0600
-
e926a8d65c
dht: During get_peers, put discovered nodes in a backlog for later querying
Matt Joiner
2014-12-08 20:00:42 -0600
-
d1bcb272bc
dht: A few minor improvements
Matt Joiner
2014-12-08 19:14:10 -0600
-
78eb25535d
dht: Cap nodes to 10k, drop nodes that timeout if we're out of space
Matt Joiner
2014-12-08 19:09:11 -0600
-
4be7b11a3b
Use bitbucket.org/anacrolix/sync
Matt Joiner
2014-12-08 17:00:38 -0600
-
ac57158982
dht: Store transactions by key, and fix partial deadlock
Matt Joiner
2014-12-08 16:59:25 -0600
-
d9793a78ba
Improve announce logging
Matt Joiner
2014-12-08 16:57:42 -0600
-
c6d41cf027
dht: Tidy up GetPeers()
Matt Joiner
2014-12-06 21:22:12 -0600
-
35ba3c44e1
dht: Retry queries twice before timing out
Matt Joiner
2014-12-06 21:21:20 -0600
-
1e3a00979d
Fix UTP still listening despite attempting to temporarily disable it
Matt Joiner
2014-12-06 21:19:56 -0600
-
51306ccbb2
Expose various DHT state
Matt Joiner
2014-12-06 21:19:02 -0600
-
a4dc96bb12
Make some overlap of piece priorities
Matt Joiner
2014-12-06 21:18:17 -0600
-
bacb1af357
Write piece status as counts of contiguous identical states
Matt Joiner
2014-12-06 21:16:02 -0600
-
9be0f6463f
internal/pieceordering: Switch to a different skiplist implementation
Matt Joiner
2014-12-06 21:15:03 -0600
-
3c41002317
Set a low water mark for replenishing requests
Matt Joiner
2014-12-05 00:58:43 -0600
-
d58ca65a9c
pieceordering: Rename RemovePiece->DeletePiece and complete tests
Matt Joiner
2014-12-05 00:58:04 -0600
-
65ccc9c75e
Forgot to commit this part of fixing disable TCP dialing out
Matt Joiner
2014-12-05 00:56:51 -0600
-
b6ae4caa6a
Set priorities ahead of the current read position
Matt Joiner
2014-12-05 00:56:28 -0600
-
ac1afa19b8
mmap_span: Avoid allocating the span slice on every use
Matt Joiner
2014-12-05 00:54:55 -0600
-
f050bc02f7
Disabling TCP didn't include dialing out, also always disable UTP until the package is fixed
Matt Joiner
2014-12-05 00:53:26 -0600
-
7b46b41011
Switch back to using the UTP redesign
Matt Joiner
2014-12-03 19:58:02 -0600
-
7ba25ce936
A probably unhelpful test that ensures UTP performs
Matt Joiner
2014-12-03 19:57:43 -0600
-
7b80153387
fs: Improve tests
Matt Joiner
2014-12-03 12:53:10 -0600
-
3f44ed8c43
Improve fs/unwedge tests
Matt Joiner
2014-12-03 12:52:08 -0600
-
ba1367536c
tracker/udp: Tidy up tests
Matt Joiner
2014-12-03 12:51:49 -0600
-
51f5273ba9
util/dirwatch: Some tidying
Matt Joiner
2014-12-03 12:10:29 -0600
-
948de5629b
dht: Seemed to be wasting a lot of memory here
Matt Joiner
2014-12-03 01:08:18 -0600
-
91c2c1f5c7
Piece priorities, torrent read interface and many fixes
Matt Joiner
2014-12-03 01:07:50 -0600
-
ea88bad291
dht: Don't log messages that have been truncated
Matt Joiner
2014-12-02 18:43:28 -0600
-
98400ab9c7
Harmless shortcut initing peer pieces when we have the torrent info
Matt Joiner
2014-12-02 18:43:05 -0600
-
a87e753572
When metadata arrives, we also need to init request ordering
Matt Joiner
2014-12-02 18:42:22 -0600
-
9fac3e8f33
Remove commented out code
Matt Joiner
2014-12-02 18:23:07 -0600
-
7228e40c95
Add piece ordering per-connection piece request priority
Matt Joiner
2014-12-02 18:22:38 -0600
-
d2f8114154
dht: Receiving UDP source port 0 isn't an error apparently
Matt Joiner
2014-12-02 14:55:41 -0600
-
b1ac38a617
iplist: Double performance of parsing line
Matt Joiner
2014-12-02 14:55:06 -0600
-
9d66a837eb
iplist: Benchmark parsing lines
Matt Joiner
2014-12-02 14:54:37 -0600
-
c75f79b097
Speed up tests, allow -short for some UDP tracker stuff
Matt Joiner
2014-12-02 14:23:01 -0600
-
e7dec6057b
Backed out changeset: 603a76a6bdb0
Matt Joiner
2014-12-02 00:11:39 -0600
-
30c6ce1bd0
iplist: Reuse the p2p line regexp
Matt Joiner
2014-12-01 23:49:21 -0600
-
351bc3e504
Update to use utp package redesign
Matt Joiner
2014-12-01 23:35:39 -0600
-
c41919807e
Reuse the info bytes when marshalling torrent metainfo
Matt Joiner
2014-12-01 23:33:38 -0600
-
d599f85391
Ensure that when a cached torrent is used, the info hash is correct
Matt Joiner
2014-12-01 23:32:40 -0600
-
916c9c822a
Decoding bools has been wrong all along, always set to true
Matt Joiner
2014-12-01 23:28:47 -0600
-
543d0e72a9
Use the same info bytes from a decode, for a recode
Matt Joiner
2014-12-01 23:28:22 -0600
-
256d2e6530
Ensure that encoded and decoded forms match
Matt Joiner
2014-12-01 23:27:17 -0600
-
5c8de6dd7c
Skip mapping files with length 0
Matt Joiner
2014-12-01 19:13:08 -0600
-
2668a2f1cc
dht: Don't log messages that fail to decode on the first byte
Matt Joiner
2014-12-01 19:12:26 -0600
-
0f1342d7d1
Don't clobber torrent name with empty magnet display name
Matt Joiner
2014-12-01 19:12:03 -0600
-
0a91eef496
For now always read ahead 4 extra blocks
Matt Joiner
2014-12-01 17:02:31 -0600
-
fec0ac6ea5
dht: Improve bad KRPC message screening
Matt Joiner
2014-12-01 17:01:55 -0600
-
c7283182b6
Trivial
Matt Joiner
2014-12-01 16:40:18 -0600
-
e4f1f5d55e
Rework torrent adding
Matt Joiner
2014-12-01 16:40:03 -0600
-
362dfecbf2
Support banning torrents
Matt Joiner
2014-12-01 16:39:09 -0600
-
fb2b626175
Don't send constructed MetaInfo down a channel when it's available, build it on demand
Matt Joiner
2014-12-01 16:37:40 -0600
-
18d6f81184
Add InfoHash.HexString convenience
Matt Joiner
2014-12-01 16:34:45 -0600
-
8a0be03eec
cmd/torrentfs: Tidy up flags, switch to default download strategy
Matt Joiner
2014-12-01 14:31:52 -0600
-
82ca11faa9
Destroy the torrent FS on exit signals so ongoing syscalls don't block the unmount
Matt Joiner
2014-12-01 14:30:50 -0600
-
cb75f49bf7
torrent.String, if the name isn't available, use the info hash
Matt Joiner
2014-12-01 14:29:30 -0600
-
aff0999ddf
Skip on errors testing UDP tracker, need to implement a fake server
Matt Joiner
2014-12-01 14:29:08 -0600
-
709650c0bd
Sleep between announces in case there are no trackers
Matt Joiner
2014-12-01 12:43:34 -0600
-
75cde79d65
Improve the interface with client and download strategies
Matt Joiner
2014-12-01 03:37:33 -0600
-
78ef36066d
Give each connection its own piece priority order
Matt Joiner
2014-12-01 03:36:25 -0600
-
0a71fe4bee
Fast start torrent tracker announces
Matt Joiner
2014-12-01 03:33:52 -0600
-
76f83e60b2
Misc good fixes
Matt Joiner
2014-12-01 03:32:17 -0600
-
d430cf9ec9
cmd/torrent: Add -upload flag
Matt Joiner
2014-12-01 03:29:56 -0600
-
b1da5d0656
Log the type for a rare DHT crash
Matt Joiner
2014-12-01 03:29:06 -0600
-
6d2f1c8cd7
Disable IP block list in some tests
Matt Joiner
2014-12-01 03:28:39 -0600
-
db0232e03f
Not ever hashed takes higher priority than partially downloaded
Matt Joiner
2014-12-01 03:28:25 -0600
-
e6ffa95fb4
When metainfo isn't complete, treat peers that don't support ut_metadata as useless
Matt Joiner
2014-12-01 03:27:52 -0600
-
54ea32ddc4
Block IPv6 for now
Matt Joiner
2014-12-01 03:27:11 -0600
-
336715874f
Fix race reordering tracker tier
Matt Joiner
2014-11-29 20:33:45 -0600
-
d68664d6c8
Some changes to block list handling
Matt Joiner
2014-11-29 20:33:17 -0600
-
69969d0d73
dht: Error while sending a find_node during bootstrap is not fatal
Matt Joiner
2014-11-29 20:31:07 -0600
-
f93ed52be2
Default download strategy: Download while initial hashing
Matt Joiner
2014-11-29 20:30:20 -0600
-
d39caca48e
Print iplist.Range nicely
Matt Joiner
2014-11-29 20:30:04 -0600
-
a1d81abb0d
router.bittorrent.com is in the level1 blocklist so use the alternative bootstrap addr
Matt Joiner
2014-11-28 19:45:12 -0600
-
0eb36e76ef
A few tweaks
Matt Joiner
2014-11-28 19:42:18 -0600
-
17a8b8aa17
Make use of IP blocklist and change the client lock to RWMutex
Matt Joiner
2014-11-28 19:41:53 -0600
-
0e3f7a5520
Change all references to github.com/nsf/libtorgo to github.com/anacrolix/libtorgo
Matt Joiner
2014-11-28 12:13:57 -0600
-
50e3db173f
Allow DHT server config to be passed through when creating a new client
Matt Joiner
2014-11-28 12:13:08 -0600
-
1c78c81075
Add a passive flag for DHT, that disables responding to queries
Matt Joiner
2014-11-28 12:04:38 -0600
-
88d570291c
Implement iplist package, for block lists
Matt Joiner
2014-11-28 12:04:15 -0600
-
e68810f29c
Need to break from the parent soon...
Matt Joiner
2014-11-28 10:34:19 -0600
-
c10fbb2022
Extra time between tracker announces
Matt Joiner
2014-11-28 08:39:13 -0600
-
1527321c71
Wasn't actually copying the tiers
Matt Joiner
2014-11-21 00:54:19 -0600
-
97074dc060
Improve tracker connect error log message
Matt Joiner
2014-11-21 00:32:39 -0600