Matt Joiner
|
49a3c87a53
|
Fix possible deadlock
|
2016-04-04 20:39:57 +10:00 |
|
Matt Joiner
|
deea9d2192
|
Fix Config.IPBlocklist type
|
2016-04-04 16:23:30 +10:00 |
|
Matt Joiner
|
792feae8f9
|
iplist: Add helper to mmap in a packed blocklist
|
2016-04-04 16:23:05 +10:00 |
|
Matt Joiner
|
f83771b660
|
Apply ineffassign linter
|
2016-04-04 15:39:26 +10:00 |
|
Matt Joiner
|
82ee860e8d
|
Apply unconvert linter
|
2016-04-04 15:28:25 +10:00 |
|
Matt Joiner
|
fda1cc3f7b
|
Remove more deadcode
|
2016-04-04 15:23:05 +10:00 |
|
Matt Joiner
|
1566e2afdc
|
Remove deadcode
|
2016-04-04 15:18:51 +10:00 |
|
Matt Joiner
|
bd7981dc19
|
Remove unused orderedList
|
2016-04-04 15:10:39 +10:00 |
|
Matt Joiner
|
8f164ae956
|
Remove some of the magic ConfigDir stuff
This might become a helper. Torrent file cache still remains.
|
2016-04-04 14:04:48 +10:00 |
|
Matt Joiner
|
fa511154e4
|
Move Magnet and friends into metainfo package
|
2016-04-04 13:48:39 +10:00 |
|
Matt Joiner
|
6aacfe5589
|
Merge pull request #72 from shoenig/magnetize
convenience function for creating magnets
|
2016-04-04 13:20:15 +10:00 |
|
Matt Joiner
|
b80bb6393a
|
Use metainfo.Hash for piece and info hashes
|
2016-04-04 13:01:31 +10:00 |
|
Seth Hoenig
|
890658ef93
|
convenience function for creating magnets
|
2016-04-03 10:05:17 -05:00 |
|
Matt Joiner
|
00f33c848e
|
Adding a torrent without info after waitAccept has blocked wouldn't trigger further accepts immediately
|
2016-04-03 22:06:25 +10:00 |
|
Matt Joiner
|
22ad654420
|
Fix deadlocks in WriteStatus due to incomplete renaming
|
2016-04-03 20:54:14 +10:00 |
|
Matt Joiner
|
d3a1c79c79
|
Merge Torrent and torrent types
|
2016-04-03 18:40:43 +10:00 |
|
Matt Joiner
|
501ae0c98c
|
Comments
|
2016-04-03 16:52:52 +10:00 |
|
Matt Joiner
|
08830b97a1
|
Make everything on type torrent private
|
2016-04-03 16:50:53 +10:00 |
|
Matt Joiner
|
e3a7433154
|
piece file storage: Don't write to completed pieces
|
2016-04-03 16:37:50 +10:00 |
|
Matt Joiner
|
c469d4a837
|
cmd/torrent-metainfo-pprint: Switch to tagflag for argument parsing
|
2016-04-03 16:37:17 +10:00 |
|
Matt Joiner
|
bc8fb2a165
|
If we fail to write to a piece, check its completion state
|
2016-04-03 16:36:57 +10:00 |
|
Matt Joiner
|
44f5bb73c5
|
Improve log messages
|
2016-04-03 16:36:24 +10:00 |
|
Matt Joiner
|
6a8bbc4e14
|
Suppress piece read errors when data is obtained
|
2016-04-03 16:35:28 +10:00 |
|
Matt Joiner
|
f19e8b32aa
|
storage: Don't read bad completed piece files
|
2016-04-03 16:33:31 +10:00 |
|
Matt Joiner
|
7638d678a8
|
storage: Fix io.EOF on short piece files
|
2016-04-02 16:57:22 +11:00 |
|
Matt Joiner
|
446e11b1fc
|
Missing error checks in test
|
2016-03-30 19:16:40 +11:00 |
|
Matt Joiner
|
c0e060de63
|
Suppress logging noise in tests
|
2016-03-30 19:12:57 +11:00 |
|
Matt Joiner
|
7790e72832
|
Move storage.FileStore interface to missinggo
|
2016-03-30 19:12:33 +11:00 |
|
Matt Joiner
|
5856b91af0
|
Fix missinggo import
|
2016-03-30 19:11:55 +11:00 |
|
Matt Joiner
|
baa8c1aed2
|
Few fixes for downstream projects
|
2016-03-29 12:13:03 +11:00 |
|
Matt Joiner
|
233f51d7db
|
Remove all the old data store packages
|
2016-03-29 11:14:54 +11:00 |
|
Matt Joiner
|
ee22446440
|
Reimplement piece storage
|
2016-03-29 11:14:34 +11:00 |
|
Matt Joiner
|
0a3a5d6ae0
|
Finish fixing tests
|
2016-03-29 00:24:00 +11:00 |
|
Matt Joiner
|
a5b54f21a1
|
Make opening a torrent in storage an explicit method
This is storage types where opening can fail, like mmap
|
2016-03-28 22:40:29 +11:00 |
|
Matt Joiner
|
775cf53809
|
Get mmap storage working
|
2016-03-28 21:57:04 +11:00 |
|
Matt Joiner
|
b97b50aca9
|
New storage interface
|
2016-03-28 20:38:30 +11:00 |
|
Matt Joiner
|
4986c61138
|
data/file: Rewrite ReadAt
|
2016-03-26 20:45:31 +11:00 |
|
Matt Joiner
|
729723d62d
|
data/file: Add a test checking for io.ErrUnexpectedEOF on short read
|
2016-03-26 18:30:30 +11:00 |
|
Matt Joiner
|
ca3529bd9a
|
Improve doc comments on Data
|
2016-03-26 18:27:28 +11:00 |
|
Matt Joiner
|
ac184c8f52
|
Tidy up a test that fails with the wrong reasons
|
2016-03-24 23:52:38 +11:00 |
|
Matt Joiner
|
bb04cb8843
|
Tidy up bytesLeft calculations
This should fix a bug where completion is shown as negative in WriteStatus
|
2016-03-22 13:11:36 +11:00 |
|
Matt Joiner
|
01bef851ed
|
Log connection errors when debug mode
|
2016-03-22 13:10:18 +11:00 |
|
Matt Joiner
|
0c877a9d94
|
Add a test for bad have messages
The reason for the cleanup to peer have-related messages in the first place.
|
2016-03-22 13:09:02 +11:00 |
|
Matt Joiner
|
bfd0b86441
|
Tidy up the peer have{,all,none},bitfield handling
|
2016-03-22 12:07:03 +11:00 |
|
Matt Joiner
|
e2ffcd008b
|
Add t.bytesLeftAnnounce
Now it's safe to remove tracker specific bytesLeft contract
|
2016-03-22 09:06:48 +11:00 |
|
Matt Joiner
|
782589e2b9
|
Client.WriteStatus: Raise the precision of the completion percentage
|
2016-03-22 08:33:08 +11:00 |
|
Matt Joiner
|
99109e636b
|
Use missinggo.AddrPort directly
|
2016-03-21 16:02:36 +11:00 |
|
Matt Joiner
|
99fa0c26aa
|
Make peerGotPiece a method on connection
|
2016-03-21 14:19:51 +11:00 |
|
Matt Joiner
|
1508e02935
|
Move peerGotPiece
|
2016-03-21 14:17:15 +11:00 |
|
Matt Joiner
|
125c864a8c
|
Add some File method comments
|
2016-03-19 17:40:30 +11:00 |
|