]> Sergey Matveev's repositories - btrtrc.git/commit - requesting.go
Include requests pending cancel in current request count
authorMatt Joiner <anacrolix@gmail.com>
Thu, 23 Dec 2021 07:55:57 +0000 (18:55 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 23 Dec 2021 07:55:57 +0000 (18:55 +1100)
commit89b8b78980429b5f0eff62ee97637bf56a2dedfb
tree48d682c08e606d25ca7248fc691127d8f43f5582
parent9d07f3ea77e7f2414b3611cae6af263a73c7e939
Include requests pending cancel in current request count

This fix a situation where peers might be dropping our requests, and since we depend on all requests being satisfied before re-requesting, we get stuck waiting for the request to be filled.
requesting.go