Matt Joiner
d5f888069f
Ditch Data.WriteSectionTo, and fix cmd/torrent-verify
2016-02-18 11:45:31 +11:00
Matt Joiner
0acad8eeac
Avoid error message when we attempt to complete a piece that's already complete
2016-02-17 17:21:03 +11:00
Matt Joiner
c89a391056
data/pieceStore: Incorrectly public PieceCompleted method
2016-02-17 17:10:34 +11:00
Matt Joiner
65fd332afd
Use Cache.StatFile to get piece length in the backend
2016-02-10 00:48:23 +11:00
Matt Joiner
3acdcc3b45
Tidy code
2016-02-04 15:04:46 +11:00
Matt Joiner
5dabd3ed03
dataBackend/http: Replace connection pooling code with forced HTTP2
2016-01-06 12:10:40 +11:00
Matt Joiner
a0f374ce8d
Check piece completion state as soon as a handle to torrent data is obtained from a piece store
...
This helps flex the new concurrency implementation in the piece store http backend
2015-12-25 01:33:10 +11:00
Matt Joiner
08f8d7bd19
Limit parallelism at the piece store http backend connection level instead of at the request level
...
This is in preparation for improvements that HTTP2 should provide.
2015-12-25 01:31:50 +11:00
Matt Joiner
674066c448
data/pieceStore/{blob->data}.go: More appropriate file name
2015-12-25 01:26:15 +11:00
Matt Joiner
b66aa07a4d
data/pieceStore: Improve error message when pieces fail to write
2015-12-11 03:05:40 +11:00
Matt Joiner
8c37ff73af
CopyURL moved to httptoo
2015-12-11 03:02:45 +11:00
Matt Joiner
b3ed8ca09e
data/pieceStore/dataBackend: ErrNotFound now aliases os.ErrNotExist
2015-11-13 22:35:18 +11:00
Matt Joiner
4f03dd3fc7
httpfile.Open can now return an error
2015-10-30 22:21:48 +11:00
Matt Joiner
db3ec698e9
Some missing io.EOFs
2015-10-23 12:45:51 +11:00
Matt Joiner
4c4eae20a2
data/pieceStore: Expose flags in Open method
2015-10-23 12:45:11 +11:00
Matt Joiner
b0b5794890
Create a pieceStore interface, and merge in my httpfile backend, and replace data/blob
...
data/blob was aging, and had severe performance problems. It's now possible to use missinggo/filecache as a data backend to pieceStore which is better tested and performs excellently.
2015-10-04 00:22:46 +10:00