Welcome Guest Search | Active Topics | Sign In | Register

Canceling download for second time will cause an error Options
John
Posted: Sunday, January 24, 2021 5:48:10 AM
Rank: Member
Groups: Member

Joined: 12/19/2020
Posts: 14
My Example: https://easyupload.io/uk7erw

I try to cancel the download if the size is more than a given size and I try to request it several times.

For the first time, it will be ok and works fine. But If I download it again (Pressing Download Button in the example), it will fail.
Sometimes the System.Exception: Channel disconnected will occur. (Error.txt in example)
John
Posted: Monday, January 25, 2021 12:25:53 AM
Rank: Member
Groups: Member

Joined: 12/19/2020
Posts: 14
It seems the StopLoad method is the problem, but why?
eo_support
Posted: Wednesday, January 27, 2021 1:59:51 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Thanks for the test project. The issue indeed is caused by StopLoad. What happened is StopLoad causes the request related objects inside the browser engine to be released prematurely while other threads are still using it. We have changed our code to avoid this scenario thus it should be fixed in our next build.
eo_support
Posted: Wednesday, February 3, 2021 6:50:30 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

This is just to let you know that we did post a new build however the fix did not pass all the test to make this build. We will reply here again when the build with the fix is out.

In the mean time, you can comment out StopLoad. It is not necessary since the load will be automatically canceled when you cancel the download.

Thanks!
eo_support
Posted: Wednesday, February 17, 2021 1:47:48 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi,

This is just to let you know that we have posted build 21.0.32 that contains the fix for this issue.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.