]> Sergey Matveev's repositories - btrtrc.git/commit
Rework HTTP announce timeouts
authorMatt Joiner <anacrolix@gmail.com>
Thu, 1 Oct 2020 00:45:05 +0000 (10:45 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 1 Oct 2020 00:45:05 +0000 (10:45 +1000)
commit010362ec82fecd1fd1e43978d490c7150cc7117c
tree81bb7761af08a2afd908bce289b18c03764e2ce4
parenta3827099c40d4931255358b918aa1a55720b1505
Rework HTTP announce timeouts

Use Request.Context to implement timeouts, set the default to 3s for announces from the Client.
tracker/http.go
tracker/tracker.go
tracker_scraper.go