Downloader: When network disconnects download gets stuck (.Net framwork)

Hi, When using the Downloader package, in case in middle of a download the network disconnected, the download gets stuck, and DownloadFileCompleted event is not emitted. It happens only In when I’m using the nuget from .Net framwork project . In .Net core project it works fine.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (10 by maintainers)

Commits related to this issue

Most upvoted comments

Now it works! Thanks.

So now in case of internet connection issue, if calling CancelAsync, it works well and the stream does close. But still, in case of timeout without calling CancelAsync it is stuck.

Yes, I know what is the problem and I am working on that.