JoystreamClassic / extension-cpp

C++ libtorrent extension library
MIT License
0 stars 3 forks source link

Correctly handle failure in when reading a piece #50

Open mnaamani opened 6 years ago

mnaamani commented 6 years ago

The TorrentPlugin does not handling any error that could occur when reading a torrent piece. According to libtorrent docs, on if reading fails the torrent is also paused. This will result in all peers being disconnected.