tonyofrancis/Fetch

Repeat download a file and cause unknown error

GaoYuCan opened this issue · 1 comments

When the value of EnqueueAction is INCREMENT_FILE_NAME, repeated downloading a file will cause a unknown error. After debugging, I found the reason, and there is a bug in prepareDownloadInfoForEnqueue funcation of FetchHandlerImpl.
As shown in the following figure.
image
After modifying the code below, it can work normally.
image

The solution above didn't work in my case. Do you have any other suggestions?