2
0
mirror of synced 2025-02-24 14:48:27 +00:00

6 Commits

Author SHA1 Message Date
Matt Joiner
d039436f55 Significant progress and improvements
Piece state is broken up into several dimensions.
Implement keep-alive in connection writer.
Lazily hash pieces, only as requested.
Replace client actor mechanism with a mutex.
Fix runConnection/connectionLoop/handshake misnomers.
Fix broken reading from partially complete pieces.
2013-10-21 01:07:01 +11:00
Matt Joiner
43418e9f65 Fix bugs in the new WriteSectionTo hashing implementation 2013-10-07 18:58:33 +11:00
Matt Joiner
a44accadbe Create more efficient writer method for MMapSpan for use with hashing 2013-10-07 10:35:10 +11:00
Matt Joiner
381c6bef68 Failing WriteAt should return ErrShortWrite
See the implementation of io.Copy.
2013-10-02 19:54:23 +10:00
Matt Joiner
816c263760 Start implementing a basic client 2013-09-26 19:49:15 +10:00
Matt Joiner
3d1fb69e36 Add torrent.Mmap and MmapSpan, types that abstract memory-mapped torrent data 2013-09-26 13:42:24 +10:00