]> Sergey Matveev's repositories - btrtrc.git/commit
Merge pull request #410 from anacrolix/webseeds
authorMatt Joiner <anacrolix@gmail.com>
Wed, 3 Jun 2020 01:25:08 +0000 (11:25 +1000)
committerGitHub <noreply@github.com>
Wed, 3 Jun 2020 01:25:08 +0000 (11:25 +1000)
commit86063859850cf1288a2773fc7c7a0c646513d597
tree0cd0c7164a14f6495753d6f2cb3cfabf70823fb4
parentd7627143bc7aafeccbff7a1de681066911a2f605
parent8a2ff4324664a91b3ac5dbf52ed71a9f9b82893b
Merge pull request #410 from anacrolix/webseeds

* Rename Peer to PeerInfo, and unexport PeerInfos

* Break peer out from PeerConn

* Abstract out segments mapping and use it in mmap storage

* Got file storage working with segment index

* Fix race in webtorrent.TrackerClient.Run

* storage file implementation: Error on short writes

* Remove debug logging from storage file implementation

* cmd/torrent-verify: Fix piece hash output

* Support disabling webtorrent

* Further progress on webseeding

* Handle webseed Client events

* Rename fastestConn->fastestPeer

* Add webseeds from magnet links

* Remove events from webseed

Manage this stuff inside the webseed peer instead.

* Make use of magnet source fields and expose Torrent.MergeSpec

* Add option to disable webseeds

* Fix webseeds when info isn't available immediately

* Handle webseed request errors

* Tidy up the interface changes
peerconn.go
torrent.go