]> Sergey Matveev's repositories - btrtrc.git/commit
Check if torrent is closed before handling peer request data read failures
authorMatt Joiner <anacrolix@gmail.com>
Wed, 27 Oct 2021 04:14:11 +0000 (15:14 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 27 Oct 2021 04:14:11 +0000 (15:14 +1100)
commitf2e9eeba3b0cf5447836425104dde25dfdea425d
tree897e7251fbb9b0b2276e68081d53be064381fea2
parenteb2fc6dbef0e6a988fc4747ac1c941811334de43
Check if torrent is closed before handling peer request data read failures

Should fix panics using storage after its been closed, like in https://github.com/anacrolix/torrent/runs/4017475163.
peerconn.go