Sioro-Neoku / go-peerflix

Go Peerflix
MIT License
470 stars 119 forks source link

Fix error caused by upstream torrent updates #42

Closed zbhknight closed 5 years ago

zbhknight commented 5 years ago
  1. Fix torrent.ClientConfig error, passing ipblocklist from config
  2. PrioritizeRegion method is removed from torrent.File. Reimplement the logic
  3. torrent.Reader is changed from struct to interface. Update fileEntry correspondingly
Sioro-Neoku commented 5 years ago

Hey, thank you for taking care of this.

We will still need FileEntry.Seek() if we have more than one file in the torrent, I'll push a fix quickly.

Sioro-Neoku commented 5 years ago

Deprecating this pr in favor of https://github.com/Sioro-Neoku/go-peerflix/pull/43