]> Sergey Matveev's repositories - btrtrc.git/commit
Don't block trying to fill entire Reader.Read
authorMatt Joiner <anacrolix@gmail.com>
Tue, 27 Oct 2020 01:59:07 +0000 (12:59 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 27 Oct 2020 01:59:07 +0000 (12:59 +1100)
commit2a7352aad27c037ec702dfa12760dd8a39f158bd
treec6ce0207e654f1b4145b5902add4ef297d9c30ed
parent1bfca56e9452e7883aa2a6669b920573ec499b1c
Don't block trying to fill entire Reader.Read

This conforms more to the contract in io.Reader. It's possible the old behaviour was better in reducing overhead, but that can be iterated on (or added as comments next time).
fs/torrentfs_test.go
reader.go