Matt Joiner
|
a4dc96bb12
|
Make some overlap of piece priorities
The goal is to reduce duplicating requests on higher priority pieces.
|
2014-12-06 21:18:17 -06:00 |
Matt Joiner
|
bacb1af357
|
Write piece status as counts of contiguous identical states
|
2014-12-06 21:16:02 -06:00 |
Matt Joiner
|
9be0f6463f
|
internal/pieceordering: Switch to a different skiplist implementation
|
2014-12-06 21:15:03 -06:00 |
Matt Joiner
|
3c41002317
|
Set a low water mark for replenishing requests
|
2014-12-05 00:58:43 -06:00 |
Matt Joiner
|
d58ca65a9c
|
pieceordering: Rename RemovePiece->DeletePiece and complete tests
Note that tests currently fail due to bug in skiplist?
|
2014-12-05 00:58:04 -06:00 |
Matt Joiner
|
65ccc9c75e
|
Forgot to commit this part of fixing disable TCP dialing out
|
2014-12-05 00:56:51 -06:00 |
Matt Joiner
|
b6ae4caa6a
|
Set priorities ahead of the current read position
|
2014-12-05 00:56:28 -06:00 |
Matt Joiner
|
ac1afa19b8
|
mmap_span: Avoid allocating the span slice on every use
|
2014-12-05 00:54:55 -06:00 |
Matt Joiner
|
f050bc02f7
|
Disabling TCP didn't include dialing out, also always disable UTP until the package is fixed
|
2014-12-05 00:53:26 -06:00 |
Matt Joiner
|
7b46b41011
|
Switch back to using the UTP redesign
|
2014-12-03 19:58:02 -06:00 |
Matt Joiner
|
7ba25ce936
|
A probably unhelpful test that ensures UTP performs
|
2014-12-03 19:57:43 -06:00 |
Matt Joiner
|
7b80153387
|
fs: Improve tests
|
2014-12-03 12:53:10 -06:00 |
Matt Joiner
|
3f44ed8c43
|
Improve fs/unwedge tests
|
2014-12-03 12:52:08 -06:00 |
Matt Joiner
|
ba1367536c
|
tracker/udp: Tidy up tests
|
2014-12-03 12:51:49 -06:00 |
Matt Joiner
|
51f5273ba9
|
util/dirwatch: Some tidying
|
2014-12-03 12:10:29 -06:00 |
Matt Joiner
|
948de5629b
|
dht: Seemed to be wasting a lot of memory here
|
2014-12-03 01:08:18 -06:00 |
Matt Joiner
|
91c2c1f5c7
|
Piece priorities, torrent read interface and many fixes
|
2014-12-03 01:07:50 -06:00 |
Matt Joiner
|
ea88bad291
|
dht: Don't log messages that have been truncated
|
2014-12-02 18:43:28 -06:00 |
Matt Joiner
|
98400ab9c7
|
Harmless shortcut initing peer pieces when we have the torrent info
|
2014-12-02 18:43:05 -06:00 |
Matt Joiner
|
a87e753572
|
When metadata arrives, we also need to init request ordering
|
2014-12-02 18:42:22 -06:00 |
Matt Joiner
|
9fac3e8f33
|
Remove commented out code
|
2014-12-02 18:23:07 -06:00 |
Matt Joiner
|
7228e40c95
|
Add piece ordering per-connection piece request priority
|
2014-12-02 18:22:38 -06:00 |
Matt Joiner
|
d2f8114154
|
dht: Receiving UDP source port 0 isn't an error apparently
|
2014-12-02 14:55:41 -06:00 |
Matt Joiner
|
b1ac38a617
|
iplist: Double performance of parsing line
|
2014-12-02 14:55:06 -06:00 |
Matt Joiner
|
9d66a837eb
|
iplist: Benchmark parsing lines
|
2014-12-02 14:54:37 -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
|
e7dec6057b
|
Backed out changeset: 603a76a6bdb0
|
2014-12-02 00:11:39 -06:00 |
Matt Joiner
|
30c6ce1bd0
|
iplist: Reuse the p2p line regexp
|
2014-12-01 23:49:21 -06:00 |
Matt Joiner
|
351bc3e504
|
Update to use utp package redesign
|
2014-12-01 23:35:39 -06:00 |
Matt Joiner
|
c41919807e
|
Reuse the info bytes when marshalling torrent metainfo
|
2014-12-01 23:33:38 -06:00 |
Matt Joiner
|
d599f85391
|
Ensure that when a cached torrent is used, the info hash is correct
|
2014-12-01 23:32:40 -06:00 |
Matt Joiner
|
5c8de6dd7c
|
Skip mapping files with length 0
|
2014-12-01 19:13:08 -06:00 |
Matt Joiner
|
2668a2f1cc
|
dht: Don't log messages that fail to decode on the first byte
|
2014-12-01 19:12:26 -06:00 |
Matt Joiner
|
0f1342d7d1
|
Don't clobber torrent name with empty magnet display name
|
2014-12-01 19:12:03 -06:00 |
Matt Joiner
|
0a91eef496
|
For now always read ahead 4 extra blocks
|
2014-12-01 17:02:31 -06:00 |
Matt Joiner
|
fec0ac6ea5
|
dht: Improve bad KRPC message screening
|
2014-12-01 17:01:55 -06:00 |
Matt Joiner
|
c7283182b6
|
Trivial
|
2014-12-01 16:40:18 -06:00 |
Matt Joiner
|
e4f1f5d55e
|
Rework torrent adding
|
2014-12-01 16:40:03 -06:00 |
Matt Joiner
|
362dfecbf2
|
Support banning torrents
|
2014-12-01 16:39:09 -06:00 |
Matt Joiner
|
fb2b626175
|
Don't send constructed MetaInfo down a channel when it's available, build it on demand
|
2014-12-01 16:37:40 -06:00 |
Matt Joiner
|
18d6f81184
|
Add InfoHash.HexString convenience
|
2014-12-01 16:34:45 -06:00 |
Matt Joiner
|
8a0be03eec
|
cmd/torrentfs: Tidy up flags, switch to default download strategy
|
2014-12-01 14:31:52 -06:00 |
Matt Joiner
|
82ca11faa9
|
Destroy the torrent FS on exit signals so ongoing syscalls don't block the unmount
|
2014-12-01 14:30:50 -06:00 |
Matt Joiner
|
cb75f49bf7
|
torrent.String, if the name isn't available, use the info hash
|
2014-12-01 14:29:30 -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
|
709650c0bd
|
Sleep between announces in case there are no trackers
|
2014-12-01 12:43:34 -06:00 |
Matt Joiner
|
75cde79d65
|
Improve the interface with client and download strategies
|
2014-12-01 03:37:33 -06:00 |
Matt Joiner
|
78ef36066d
|
Give each connection its own piece priority order
|
2014-12-01 03:36:25 -06:00 |
Matt Joiner
|
0a71fe4bee
|
Fast start torrent tracker announces
|
2014-12-01 03:33:52 -06:00 |
Matt Joiner
|
76f83e60b2
|
Misc good fixes
|
2014-12-01 03:32:17 -06:00 |