]> Sergey Matveev's repositories - btrtrc.git/commit
Add Reader.ReadContext
authorMatt Joiner <anacrolix@gmail.com>
Sat, 30 Apr 2016 01:08:29 +0000 (11:08 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Sat, 30 Apr 2016 01:08:29 +0000 (11:08 +1000)
commitf62ff2f540e997bdc3d8af2a0de9a40e3db22f79
tree4a19782b766eb3116f2a6598444ea257f0fbe6de
parent28c9ec2bd11925f0d432ee601c891ef234f8aaec
Add Reader.ReadContext

Allows cancelling reads etc. Torrents that get stuck can result in Reads that won't return until the torrent is dropped.
reader.go
reader_test.go [new file with mode: 0644]