]> Sergey Matveev's repositories - btrtrc.git/commit
Return errors from Reader if data downloading won't occur
authorMatt Joiner <anacrolix@gmail.com>
Tue, 27 Oct 2020 03:10:17 +0000 (14:10 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 27 Oct 2020 03:10:17 +0000 (14:10 +1100)
commit43891309ada546674c30923a461ae18c94d4307e
treeb01ecc179d232a074a97022a0ae0d2dfcf5b6799
parent2a7352aad27c037ec702dfa12760dd8a39f158bd
Return errors from Reader if data downloading won't occur

Chunk write errors to storage can disable data download. Previously Readers would wait indefinitely for the data to become available. This change returns an error instead of stalling.
reader.go
test/issue377_test.go
torrent.go