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
- Fixed cancel stream reader after cancel master token with user before timeout. #104, #98 — committed to bezzad/Downloader by bezzad 2 years ago
- Fixed cancelation issue for #94 and #104 — committed to bezzad/Downloader by bezzad 2 years ago
- Added .Net Framework sample to test issue #104 — committed to bezzad/Downloader by bezzad 2 years ago
- Fixed cancellation and timeout issue on .Net Framework. #104, #107 — committed to bezzad/Downloader by bezzad 2 years ago
- Release v2.3.9 with note: Fixed cancellation issues #94 and #104 — committed to bezzad/Downloader by bezzad 2 years ago
- Fixed the timeout issue at .Net Framework when network disconnects download gets stuck #104 — committed to bezzad/Downloader by bezzad 2 years ago
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 callingCancelAsyncit is stuck.Yes, I know what is the problem and I am working on that.