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.
After modifying the code below, it can work normally.
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. After modifying the code below, it can work normally.