YouROK/TorrServer

[BUG] Missing pieces when downloading/Streaming

ahizap opened this issue · 23 comments

TorrServer does not properly download files, the downloaded files has partial or missing pieces when rechecked with qbittorrent. The missing pieces causes the downloads to become corrupt and in media files it causes playback errors where the data piece is missing

Steps to reproduce the behavior:

  1. Download files using TorrServer
  2. Recheck the downloaded files with qbittorrent
  3. The file will have missing pieces
  • Ubuntu 22.04
  • TorrServer Version MatriX.130

Can't reproduce on Mac with TorrServer Matrix.130. 3.3 GB torrent downloaded in Mozilla from Open link in Web GUI and it's content checked with qBittorrent v4.6.4. No missing pieces on recheck with the same torrent / magnet.

p.s. Anyway, TorrServer is optimized for video streaming and in it's reader code check of peace completion is disabled for better streaming experience. You can try use TorrServer builded from new-engine branch where no such improvements and more actual torrent download library too. And use proper soft for full files download.

Maybe the problem is specific to linux?