bezzad / Downloader

Fast, cross-platform and reliable multipart downloader with asynchronous progress events for .NET applications.
MIT License
1.25k stars 193 forks source link

The 67th Line in this file“Downloader/src/Downloader /ChunkDownloader.cs ” is not need #156

Closed wybarcelona closed 5 months ago

wybarcelona commented 6 months ago

The 67th Line in this file“Downloader/src/Downloader /ChunkDownloader.cs ” is not need;

if server is supported range download, when a file downloads fail,the code of 67th line will throw a exception

11115

bezzad commented 6 months ago

Consider a situation where the server does not allow resuming a download from a specific position. Now, something like an error occurs during the download and this method is entered to resume the download. Now the server can't resume the download, so the download should be stopped by throwing an error.